X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FDoGameStuff.c;h=79b102d6dbfd8307df3e0f283b463cf116d929cd;hb=98d421667c21a07ab69dd881f1435c2f595ddd4c;hp=7a7c1ac77919bfb0dc60bef1f6cc901e2999715d;hpb=bfe3ef29da6539dffdd8674a67c3144f6a3cdddc;p=rocksndiamonds.git diff --git a/src/game_sp/DoGameStuff.c b/src/game_sp/DoGameStuff.c index 7a7c1ac7..79b102d6 100644 --- a/src/game_sp/DoGameStuff.c +++ b/src/game_sp/DoGameStuff.c @@ -17,7 +17,7 @@ byte AnimationSubTable[SP_MAX_PLAYFIELD_SIZE]; // Do game stuff // ========================================================================== -void subDoGameStuff() +void subDoGameStuff(void) { int si, cx, dx, bl; int InfotronsNeeded_last = InfotronsNeeded; @@ -71,14 +71,14 @@ void subDoGameStuff() if (KillMurphyFlag == 1 || MurphyMoveCounter == 0) { if (LeadOutCounter == 0 && - !game_sp.LevelSolved && - !game_sp.GameOver) + !game_sp.level_solved && + !game_sp.game_over) { KillMurphyFlag = 0; // no more "kill Murphy" ExplodeFieldSP(MurphyExplodePos); // Explode LeadOutCounter = 0x40; // quit: start lead-out - /* give Murphy some more time (LeadOutCounter) to reach the exit */ + // give Murphy some more time (LeadOutCounter) to reach the exit } } // loc_g_22FB: }