fixed bug with forced restart of global animations when restarting game
[rocksndiamonds.git] / src / game.c
index 8cb99586ffbcd20c26e3aca5874a012ceb58e1cb..a025b4b9d65835bdfe125859d60f30a2f1e1bbb0 100644 (file)
@@ -3629,6 +3629,10 @@ void InitGame(void)
     // force restarting global animations displayed during game play
     RestartGlobalAnimsByStatus(GAME_MODE_PSEUDO_RESTARTING);
 
+    // this is required for "transforming" fade modes like cross-fading
+    // (else global animations will be stopped, but not restarted here)
+    SetAnimStatusBeforeFading(GAME_MODE_PSEUDO_RESTARTING);
+
     SetGameStatus(GAME_MODE_PLAYING);
   }