changed variable name
[rocksndiamonds.git] / src / game_sp / MainGameLoop.c
index 72d0e283a79f234860d7532ad584cf68b86cac48..e1a20b102466cfcf641c694ffa8bfc9b5125b15a 100644 (file)
@@ -75,8 +75,8 @@ void subMainGameLoop_Main(byte action, boolean warp_mode)
   // ---------------------- END OF GAME-BUSY LOOP (including lead-out) ---------
 
   // if the game is not won when reaching this point, then it is lost
-  if (!game_sp.LevelSolved)
-    game_sp.GameOver = TRUE;
+  if (!game_sp.level_solved)
+    game_sp.game_over = TRUE;
 }
 
 void subCalculateScreenScrollPos(void)