From 84ead135b76190e1edfc13b2befb33a36bfa4ee1 Mon Sep 17 00:00:00 2001 From: ariclone <> Date: Tue, 18 Apr 2000 18:32:44 +0000 Subject: [PATCH] Simplified menu redraw --- src/stratagus/mainloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratagus/mainloop.cpp b/src/stratagus/mainloop.cpp index c2b9475c5..e9423d656 100644 --- a/src/stratagus/mainloop.cpp +++ b/src/stratagus/mainloop.cpp @@ -352,7 +352,7 @@ global void UpdateDisplay(void) if( MustRedraw==-1 ) { Invalidate(); } else { - if( (MustRedraw&RedrawMap) || (MustRedraw&RedrawMapOverlay) ) { + if( MustRedraw&RedrawMap ) { // FIXME: split into small parts see RedrawTile and RedrawRow InvalidateArea(TheUI.MapX,TheUI.MapY ,TheUI.MapWidth-TheUI.MapX,TheUI.MapHeight-TheUI.MapY);