diff options
-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; |