equal
deleted
inserted
replaced
380 begin |
380 begin |
381 OnUsedAmmo(CurrentHedgehog^); |
381 OnUsedAmmo(CurrentHedgehog^); |
382 if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and ((GameFlags and gfInfAttack) = 0) then |
382 if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and ((GameFlags and gfInfAttack) = 0) then |
383 begin |
383 begin |
384 if TagTurnTimeLeft = 0 then TagTurnTimeLeft:= TurnTimeLeft; |
384 if TagTurnTimeLeft = 0 then TagTurnTimeLeft:= TurnTimeLeft; |
385 TurnTimeLeft:= Ammoz[a].TimeAfterTurn; |
385 TurnTimeLeft:=round(Ammoz[a].TimeAfterTurn * (cGetAwayTime / 100)); |
386 end; |
386 end; |
387 if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) then State:= State or gstAttacked; |
387 if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) then State:= State or gstAttacked; |
388 if (Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) <> 0 then ApplyAmmoChanges(CurrentHedgehog^) |
388 if (Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) <> 0 then ApplyAmmoChanges(CurrentHedgehog^) |
389 end; |
389 end; |
390 end |
390 end |