diff options
-rw-r--r-- | engines/lure/screen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/lure/screen.cpp b/engines/lure/screen.cpp index 64d63c9ea9..00e4dca73c 100644 --- a/engines/lure/screen.cpp +++ b/engines/lure/screen.cpp @@ -117,7 +117,8 @@ void Screen::paletteFadeIn(Palette *p) { _system.setPalette(_palette->data(), 0, p->numEntries()); _system.updateScreen(); _system.delayMillis(20); - events.pollEvent(); + while (events.pollEvent()) + ; } } while (changed); } @@ -149,7 +150,8 @@ void Screen::paletteFadeOut(int numEntries) { _system.setPalette(_palette->data(), 0, numEntries); _system.updateScreen(); _system.delayMillis(20); - events.pollEvent(); + while (events.pollEvent()) + ; } } while (changed); } |