hedgewars/uVariables.pas
changeset 14522 d0441c7e9000
parent 14514 5ac181cb2396
child 14538 1dab5d92aca7
--- a/hedgewars/uVariables.pas	Sat Jan 05 21:52:15 2019 +0100
+++ b/hedgewars/uVariables.pas	Sat Jan 05 22:05:20 2019 +0100
@@ -106,6 +106,8 @@
     GameOver        : boolean;
     cSuddenDTurns   : LongInt;
     LastSuddenDWarn : LongInt; // last round in which the last SD warning appeared. -2 = no warning so far
+    cInitHealth     : LongInt; // initial hedgehog health (from game scheme. note the real hog health is sent directly
+                               // from frontend, this is only used to inform Lua scripts)
     cDamagePercent  : LongInt;
     cMineDudPercent : LongWord;
     cTemplateFilter : LongInt;
@@ -2806,6 +2808,7 @@
     TagTurnTimeLeft     := 0;
     cSuddenDTurns       := 15;
     LastSuddenDWarn     := -2;
+    cInitHealth         := 100;
     cDamagePercent      := 100;
     cRopePercent        := 100;
     cGetAwayTime        := 100;