aboutsummaryrefslogtreecommitdiff
path: root/sword1/menu.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-02 11:15:35 +0000
committerTorbjörn Andersson2004-01-02 11:15:35 +0000
commit750e18eab3beb692350cbe8e545646fc866f1090 (patch)
treee9aa8333ad414c04bbb75548224e2a8db15e2efd /sword1/menu.h
parentf1a9a86a147b383108322de7615afa44bf62ac8a (diff)
downloadscummvm-rg350-750e18eab3beb692350cbe8e545646fc866f1090.tar.gz
scummvm-rg350-750e18eab3beb692350cbe8e545646fc866f1090.tar.bz2
scummvm-rg350-750e18eab3beb692350cbe8e545646fc866f1090.zip
Moved the menu refreshing to a separate function so that it can be easily
accessed even when checkMenuClick() returns before reaching the end of the function. Used this to fix a menu highlighting regression. svn-id: r12083
Diffstat (limited to 'sword1/menu.h')
-rw-r--r--sword1/menu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sword1/menu.h b/sword1/menu.h
index e8c5aa207d..d3dc36163d 100644
--- a/sword1/menu.h
+++ b/sword1/menu.h
@@ -82,6 +82,7 @@ private:
byte _objectBarStatus;
int8 _fadeSubject;
int8 _fadeObject;
+ void refreshMenus(void);
uint8 checkMenuClick(uint8 menuType);
//- lower menu, speech subjects:
SwordMenuIcon *_subjects[16];