aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/screen.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sky/screen.cpp b/engines/sky/screen.cpp
index 32487c1fdb..9ecb838c6b 100644
--- a/engines/sky/screen.cpp
+++ b/engines/sky/screen.cpp
@@ -401,7 +401,8 @@ void Screen::waitForTimer(void) {
Common::Event event;
_system->delayMillis(10);
- while (eventMan->pollEvent(event));
+ while (eventMan->pollEvent(event))
+ ;
}
}
@@ -411,7 +412,8 @@ void Screen::waitForSequence(void) {
Common::Event event;
_system->delayMillis(20);
- while (eventMan->pollEvent(event));
+ while (eventMan->pollEvent(event))
+ ;
}
}