ECM fix.
This commit is contained in:
parent
5aa8e0280e
commit
91a2cda540
|
@ -224,7 +224,7 @@ static void huntTarget(Bullet *b)
|
||||||
|
|
||||||
applyMissileThrust(b);
|
applyMissileThrust(b);
|
||||||
|
|
||||||
if (b->target == player && battle.ecmTimer == ECM_RECHARGE_TIME)
|
if (b->target == player && battle.ecmTimer < FPS)
|
||||||
{
|
{
|
||||||
b->life = 0;
|
b->life = 0;
|
||||||
addMissileExplosion(b);
|
addMissileExplosion(b);
|
||||||
|
|
Loading…
Reference in New Issue