only use hi power boost if locked on to a target and fully charged
This commit is contained in:
parent
45e6fc6aef
commit
471bd9e269
1 changed files with 1 additions and 1 deletions
|
|
@ -11859,7 +11859,7 @@ void K_KartAttractHomingAttack(player_t *player)
|
|||
|
||||
P_SpawnGhostMobj(player->mo);
|
||||
|
||||
if (player->attractionattack_hipower)
|
||||
if (player->attractionattack_hipower && lastTarg >= 0)
|
||||
{
|
||||
player->attractionboost = Easing_InCubic(influence, ATTRACTIONSPEEDHIMIN, ATTRACTIONSPEEDHIMAX);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue