Adjust bot Object nudging for item changes
This commit is contained in:
parent
c9b16e1301
commit
ad2761f365
1 changed files with 2 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue