From: Holger Schemel Date: Fri, 7 Sep 2018 14:20:14 +0000 (+0200) Subject: fixed bug with different global border when playing from level editor X-Git-Tag: 4.1.1.0~42 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f77bbb8fc772782a6d4169d22a45716e9d4d0813;p=rocksndiamonds.git fixed bug with different global border when playing from level editor When using different screen border images for the in-game screen (while playing the game, as defined by "global.border.PLAYING") and for the level editor (defined by "global.border.EDITOR"), test-playing a level from the level editor resulted in a graphically broken global screen border (while everything looks correct when playing from the main menu). --- diff --git a/src/game.c b/src/game.c index d63944fa..965e4230 100644 --- a/src/game.c +++ b/src/game.c @@ -3337,8 +3337,7 @@ void InitGame() ExpireSoundLoops(TRUE); - if (!level_editor_test_game) - FadeOut(fade_mask); + FadeOut(fade_mask); /* needed if different viewport properties defined for playing */ ChangeViewportPropertiesIfNeeded();