aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-01 00:18:38 -1000
committerPaul Gilbert2015-01-01 00:18:38 -1000
commitdef7e9f098436f64887bdc14944c6235e0a12cc1 (patch)
treee0595b71e66c6cd1eec769b785ab33d32b725942
parent4dd8c68df227654329601dc06ba5eccdcafa45f0 (diff)
downloadscummvm-rg350-def7e9f098436f64887bdc14944c6235e0a12cc1.tar.gz
scummvm-rg350-def7e9f098436f64887bdc14944c6235e0a12cc1.tar.bz2
scummvm-rg350-def7e9f098436f64887bdc14944c6235e0a12cc1.zip
XEEN: Fix clicking to have Options menu appear
-rw-r--r--engines/xeen/menus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/xeen/menus.cpp b/engines/xeen/menus.cpp
index 68ef87a853..92badb9f81 100644
--- a/engines/xeen/menus.cpp
+++ b/engines/xeen/menus.cpp
@@ -158,8 +158,7 @@ void OptionsMenu::showTitles1(SpriteResource &sprites) {
screen.restoreBackground();
sprites.draw(screen, frameNum);
- while (events.timeElapsed() < 4)
- events.pollEventsAndWait();
+ events.wait(4, true);
}
}