fix seeking reticule with jawz
this flag needs a proper setter/getter
This commit is contained in:
parent
c8a4e99dd2
commit
9f79cdef49
2 changed files with 10 additions and 1 deletions
|
|
@ -2326,6 +2326,11 @@ void K_PlayerItemThink(player_t *player, boolean onground)
|
|||
K_PlayAttackTaunt(player->mo);
|
||||
K_UpdateHnextList(player, false);
|
||||
K_BotResetItemConfirm(player, false);
|
||||
|
||||
if (player->itemamount <= 0)
|
||||
{
|
||||
player->itemflags &= ~IF_SEEKING;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case KITEM_MINE:
|
||||
|
|
|
|||
|
|
@ -8043,7 +8043,6 @@ void K_KartPlayerAfterThink(player_t *player)
|
|||
{
|
||||
player->attractionboost = 0;
|
||||
player->attractionattack_hipower = false;
|
||||
player->itemflags &= ~(IF_SEEKING|IF_PASSIVESEEKING);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -11876,6 +11875,11 @@ void K_KartAttractHomingAttack(player_t *player)
|
|||
player->attractionattack--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player->attractionattack = 0;
|
||||
}
|
||||
|
||||
if (player->attractionattack <= 0)
|
||||
{
|
||||
player->attractionattack = 0;
|
||||
player->attractionattack_hipower = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue