X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainGameLoop.c;h=a07d6967a34bbad6616c68bed424c5daf1793c4c;hb=98edd2c02783d6cf8ffe4d7aec340fe80cc8bcff;hp=79f1ec9c6fbbffbe633f119e9ee2b52b946f2dd4;hpb=055b582fdcaeddfa6dbb240eb591ec61f37e21d3;p=rocksndiamonds.git diff --git a/src/game_sp/MainGameLoop.c b/src/game_sp/MainGameLoop.c index 79f1ec9c..a07d6967 100644 --- a/src/game_sp/MainGameLoop.c +++ b/src/game_sp/MainGameLoop.c @@ -236,7 +236,9 @@ locRepeatMainGameLoop: // start repeating game loop { // happens when demo ends or when Murphy enters exit (to be checked) +#if 0 printf("::: ExitToMenuFlag == True\n"); +#endif goto locExitMainGameLoop; } @@ -270,6 +272,14 @@ locRepeatMainGameLoop: // start repeating game loop locExitMainGameLoop: + + +#if 1 + return subMainGameLoop; +#endif + + + #if 0 printf("::: locExitMainGameLoop reached [%d]\n", LeadOutCounter); #endif @@ -306,7 +316,6 @@ locExitMainGameLoop: if (UpdatedFlag == 0) // update playing time subUpdatePlayingTime(); - return subMainGameLoop; } // subMainGameLoop