Adjust bot Object nudging for item changes

This commit is contained in:
NepDisk 2025-07-16 12:55:45 -04:00
parent c9b16e1301
commit ad2761f365

View file

@ -568,8 +568,8 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing)
}
// Flame Shield
else if (K_PlayerAttackSteer(thing, side, 20,
g_nudgeSearch.botmo->player->itemtype == KITEM_FLAMESHIELD,
thing->player->itemtype == KITEM_FLAMESHIELD
g_nudgeSearch.botmo->player->flametimer && g_nudgeSearch.botmo->player->flamestore,
thing->player->flametimer && thing->player->flamestore
))
{
break;
@ -582,14 +582,6 @@ static BlockItReturn_t K_FindObjectsForNudging(mobj_t *thing)
{
break;
}
// Ring Sting
else if (K_PlayerAttackSteer(thing, side, 20,
thing->player->rings <= 0,
g_nudgeSearch.botmo->player->rings <= 0
))
{
break;
}
else
{
// After ALL of that, we can do standard bumping