hedgewars/uVariables.pas
changeset 14411 b48c270328a5
parent 14399 d670e4efe1ed
child 14421 96624a6cdb93
--- a/hedgewars/uVariables.pas	Mon Dec 10 09:01:27 2018 +0100
+++ b/hedgewars/uVariables.pas	Mon Dec 10 09:39:34 2018 +0100
@@ -104,6 +104,7 @@
     IsGetAwayTime   : boolean;
     GameOver        : boolean;
     cSuddenDTurns   : LongInt;
+    LastSuddenDWarn : LongInt; // last round in which the last SD warning appeared. -2 = no warning so far
     cDamagePercent  : LongInt;
     cMineDudPercent : LongWord;
     cTemplateFilter : LongInt;
@@ -2801,6 +2802,7 @@
     TurnClockActive     := true;
     TagTurnTimeLeft     := 0;
     cSuddenDTurns       := 15;
+    LastSuddenDWarn     := -2;
     cDamagePercent      := 100;
     cRopePercent        := 100;
     cGetAwayTime        := 100;