From f0aacc16df64293c68218e828cef26f2e7333323 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Fri, 14 Feb 2003 02:27:49 +0000 Subject: [PATCH] RedrawEverything forces the minimap to be redrawn --- src/stratagus/mainloop.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stratagus/mainloop.cpp b/src/stratagus/mainloop.cpp index afa67b569..9571544cf 100644 --- a/src/stratagus/mainloop.cpp +++ b/src/stratagus/mainloop.cpp @@ -670,7 +670,9 @@ global void GameMainLoop(void) UpdateTimer(); // update game timer // FIXME: We don't do redraw if needed, costs to much cpu time - MustRedraw&=~RedrawMinimap; // FIXME: this a little hack! + if( MustRedraw!=RedrawEverything ) { + MustRedraw&=~RedrawMinimap; // FIXME: this a little hack! + } // // Work todo each second.