improved code for final time calculation
[rocksndiamonds.git] / src / game.h
index 5739ecf0668eb82c770c3c568264b5a86cd47fa6..b18675a3691f6f154b9a918aba3174e94437bf7f 100644 (file)
@@ -199,6 +199,8 @@ struct GameInfo
   boolean envelope_active;
   boolean no_time_limit;       // (variable only in very special case)
 
+  int time_final;              // time (in seconds) or steps left or played
+
   int score;
   int score_final;