From a8ed3da9d41433779e6faba7ea699384311bd0a8 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 13 Sep 2003 16:21:12 +0000 Subject: [PATCH] Load/save icons don't flash anymore when in savegame menu (part of bug #291), from Paxtez git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1231 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 2 ++ sc2/src/sc2code/gameopt.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index f2286886b..c9b9eb054 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.4: +- Load/save icons don't flash anymore when in savegame menu + (part of bug #291), from Paxtez - Savegame slot now defaults to the last one used during one execution of uqm (bug #477), from chmmravatar - Fixed one-pixel glitch in shipyard when scrapping (bug #461), diff --git a/sc2/src/sc2code/gameopt.c b/sc2/src/sc2code/gameopt.c index ec18404e4..e132c397e 100644 --- a/sc2/src/sc2code/gameopt.c +++ b/sc2/src/sc2code/gameopt.c @@ -1014,6 +1014,7 @@ Restart: } else if (CurrentMenuState.cancel) { + SetFlashRect ((PRECT)~0L, (FRAME)0); pMS->ModuleFrame = 0; pMS->CurState = (BYTE)pMS->delta_item; ResumeMusic (); @@ -1241,6 +1242,7 @@ ChangeGameSelection: } font_DrawText (&t); } + SetFlashRect (0, (FRAME)0); ClearSemaphore (GraphicsSem); } }