only use hi power boost if locked on to a target and fully charged

This commit is contained in:
minenice55 2026-03-26 17:54:59 -04:00
parent 45e6fc6aef
commit 471bd9e269

View file

@ -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);
}