X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainGameLoop.c;h=e1a20b102466cfcf641c694ffa8bfc9b5125b15a;hb=1be3e5c990b84f8548a80ccd6b7b209a88312141;hp=dcbe62f436d7099265482f686d6423a6b95d99c6;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;p=rocksndiamonds.git diff --git a/src/game_sp/MainGameLoop.c b/src/game_sp/MainGameLoop.c index dcbe62f4..e1a20b10 100644 --- a/src/game_sp/MainGameLoop.c +++ b/src/game_sp/MainGameLoop.c @@ -74,16 +74,16 @@ void subMainGameLoop_Main(byte action, boolean warp_mode) // lead-out done: exit now // ---------------------- 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 the game is not won when reaching this point, then it is lost + if (!game_sp.level_solved) + game_sp.game_over = TRUE; } void subCalculateScreenScrollPos(void) { int jump_pos = TILEX / 2; - /* handle wrap-around */ + // handle wrap-around if (MurphyScreenXPos < -jump_pos) { MurphyScreenXPos = FieldWidth * TILEX + MurphyScreenXPos;