// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if (KillMurphyFlag == 1 || MurphyMoveCounter == 0)
{
+#if 1
+ if (LeadOutCounter == 0 && !game_sp_info.LevelSolved)
+#else
if (LeadOutCounter == 0)
+#endif
{
-#if 0
+#if 1
printf("::: DoGameStuff.c: killing murphy [%d] ...\n", KillMurphyFlag);
#endif
printf("::: ExitToMenuFlag == True\n");
#endif
+#if 0
goto locExitMainGameLoop;
+#endif
}
#else
if (ExitToMenuFlag == 1)
// ---------------------- END OF GAME-BUSY LOOP -------------------------------
// ----------------------------------------------------------------------------
LeadOutCounter = LeadOutCounter - 1; // do more lead-out after quit
+
+#if 0
+ printf("::: LeadOutCounter == %d\n", LeadOutCounter);
+#endif
+
#if 1
if (LeadOutCounter != 0) // lead-out not ready: more
return subMainGameLoop;
locExitMainGameLoop:
+#if 1
+ printf("::: locExitMainGameLoop reached [%d]\n", LeadOutCounter);
+#endif
+
#if 1
-#if 0
- printf("::: locExitMainGameLoop reached [%d]\n", LeadOutCounter);
-#endif
-
do
{
DoEvents(); // user may klick on menus or move the window here ...