fixed playfield flashing black when game started from level editor
authorHolger Schemel <info@artsoft.org>
Fri, 28 Dec 2018 14:57:59 +0000 (15:57 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 28 Dec 2018 14:57:59 +0000 (15:57 +0100)
src/game.c

index 6463df1b976f65ad72cec76db6253daf99917944..99540b18d9622ef055a0066d41c7e32f8dbb53d6 100644 (file)
@@ -3365,7 +3365,8 @@ void InitGame(void)
 
   ExpireSoundLoops(TRUE);
 
-  FadeOut(fade_mask);
+  if (!level_editor_test_game)
+    FadeOut(fade_mask);
 
   // needed if different viewport properties defined for playing
   ChangeViewportPropertiesIfNeeded();