equal
deleted
inserted
replaced
325 begin |
325 begin |
326 OnUsedAmmo(CurrentHedgehog^); |
326 OnUsedAmmo(CurrentHedgehog^); |
327 if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then |
327 if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then |
328 begin |
328 begin |
329 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn; |
329 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn; |
330 State:= State or gstAttacked |
|
331 end |
330 end |
332 else ApplyAmmoChanges(CurrentHedgehog^) |
331 else ApplyAmmoChanges(CurrentHedgehog^); |
|
332 if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked; |
333 end; |
333 end; |
334 end |
334 end |
335 else |
335 else |
336 begin |
336 begin |
337 OnUsedAmmo(CurrentHedgehog^); |
337 OnUsedAmmo(CurrentHedgehog^); |