disable extra time in timeless mode
authornemo
Sun, 07 Aug 2011 13:32:28 -0400
changeset 5520 7a950ef0cee0
parent 5519 c803fca71084
child 5521 3be9fda5c3c2
disable extra time in timeless mode
hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Sun Aug 07 12:50:17 2011 -0400
+++ b/hedgewars/uAmmos.pas	Sun Aug 07 13:32:28 2011 -0400
@@ -110,7 +110,8 @@
         if ((a = amLowGravity) and ((GameFlags and gfLowGravity) <> 0)) or
            ((a = amInvulnerable) and ((GameFlags and gfInvulnerable) <> 0)) or
            ((a = amLaserSight) and ((GameFlags and gfLaserSight) <> 0)) or
-           ((a = amVampiric) and ((GameFlags and gfVampiric) <> 0)) then
+           ((a = amVampiric) and ((GameFlags and gfVampiric) <> 0)) or
+           ((a = amExtraTime) and (cHedgehogTurnTime >= 1000000)) then
             begin
             cnt:= 0;
             Ammoz[a].Probability:= 0