result = 0;
}
+#if 1
+
+ if (game_status == GAME_MODE_PLAYING && local_player->LevelSolved_GameEnd)
+ {
+ HandleGameActions();
+ BackToFront();
+ }
+ else
+ {
+ DoAnimation();
+
+ if (!PendingEvent()) /* delay only if no pending events */
+ Delay(10);
+ }
+
+#else
+
DoAnimation();
#if 1
#else
/* don't eat all CPU time */
Delay(10);
+#endif
+
#endif
}