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 6463df1..99540b1 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();