diff options
author | Johannes Schickel | 2008-04-05 02:50:38 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-05 02:50:38 +0000 |
commit | 066a55ef33f258c1ecc3eb4518d13dc3419819c1 (patch) | |
tree | f3b2bca96eeb0aa5d46370650b57e5b60819ab94 /engines/kyra | |
parent | dd8676877e665c405d8d56f52d5fbeea62eb1cc1 (diff) | |
download | scummvm-rg350-066a55ef33f258c1ecc3eb4518d13dc3419819c1.tar.gz scummvm-rg350-066a55ef33f258c1ecc3eb4518d13dc3419819c1.tar.bz2 scummvm-rg350-066a55ef33f258c1ecc3eb4518d13dc3419819c1.zip |
Small fix in processButtonList.
svn-id: r31399
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/gui_v2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp index 496254ac90..2276b68952 100644 --- a/engines/kyra/gui_v2.cpp +++ b/engines/kyra/gui_v2.cpp @@ -426,8 +426,10 @@ int GUI_v2::processButtonList(Button *buttonList, uint16 inputFlag) { int returnValue = 0; while (buttonList) { - if (buttonList->flags & 8) + if (buttonList->flags & 8) { + buttonList = buttonList->nextButton; continue; + } buttonList->flags2 &= 0xFFE7; buttonList->flags2 |= (buttonList->flags2 & 3) << 3; |