From d223adebd7e270f178b05a60d912794c0d7c6471 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Fri, 5 Jun 2020 16:00:17 -0700 Subject: [PATCH] Sidebar no longer leaves garbage behind when scrolling. --- REDALERT/DISPLAY.CPP | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/REDALERT/DISPLAY.CPP b/REDALERT/DISPLAY.CPP index 395c56e..67019f0 100644 --- a/REDALERT/DISPLAY.CPP +++ b/REDALERT/DISPLAY.CPP @@ -1274,6 +1274,10 @@ bool DisplayClass::Scroll_Map(DirType facing, int & distance, bool really) } +// jmarshall - force update the map when we scroll, this fixes the sidebar. + Map.Redraw_Tab(); + Map.Flag_To_Redraw(true); +// jmarshall end return(true); }