removed short black screen when starting test game from level editor
authorHolger Schemel <info@artsoft.org>
Sat, 10 Mar 2018 20:40:11 +0000 (21:40 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:18 +0000 (23:21 +0100)
src/game.c

index dcae9beb90f84cd5c669b393903b79213dd938fd..407184b59db9d4621e472c4abaa60dca1adb5631 100644 (file)
@@ -3305,7 +3305,8 @@ void InitGame()
 
   ExpireSoundLoops(TRUE);
 
-  FadeOut(fade_mask);
+  if (!level_editor_test_game)
+    FadeOut(fade_mask);
 
   /* needed if different viewport properties defined for playing */
   ChangeViewportPropertiesIfNeeded();