From f6e2c3aed8415af4b2a5b9d0087e78f215bed538 Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 27 Dec 2013 09:21:53 +0000 Subject: [PATCH] - Bugfix: Playing in high screen resolution (> 1024x768) and reaching the tactical placement screen UI, the loadscreen image was still visible in the lower left and right part of the tactical placement screen git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6712 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TileEngine/Tactical Placement GUI.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TileEngine/Tactical Placement GUI.cpp b/TileEngine/Tactical Placement GUI.cpp index c60f4da2b..b16f7a882 100644 --- a/TileEngine/Tactical Placement GUI.cpp +++ b/TileEngine/Tactical Placement GUI.cpp @@ -254,6 +254,9 @@ void InitTacticalPlacementGUI() gfChangedEntrySide = FALSE; #endif + // WANNE: Make a black background color for the whole screen + ColorFillVideoSurfaceArea( FRAME_BUFFER, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, Get16BPPColor( FROMRGB( 0, 0, 0 ) ) ); + //Enter overhead map GoIntoOverheadMap(); @@ -615,7 +618,7 @@ void RenderTacticalPlacementGUI() UINT16 usHatchColor; CHAR16 str[ 128 ]; UINT8 *pDestBuf; - UINT8 ubColor; + UINT8 ubColor; if( gfTacticalPlacementFirstTime ) {