aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/events.cpp3
-rw-r--r--engines/lure/game.cpp3
-rw-r--r--engines/lure/lure.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/engines/lure/events.cpp b/engines/lure/events.cpp
index c637d4d7f7..f56a57ca34 100644
--- a/engines/lure/events.cpp
+++ b/engines/lure/events.cpp
@@ -141,7 +141,8 @@ void Mouse::waitForRelease() {
LureEngine &engine = LureEngine::getReference();
do {
- while (e.pollEvent() && !engine.shouldQuit()) ;
+ while (e.pollEvent() && !engine.shouldQuit())
+ ;
g_system->delayMillis(20);
} while (!engine.shouldQuit() && (lButton() || rButton() || mButton()));
}
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index e77ac25716..7e13cff032 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -228,7 +228,8 @@ void Game::execute() {
case Common::KEYCODE_KP_MINUS:
if (_debugFlag) {
if (roomNum == 1) roomNum = 55;
- while (res.getRoom(--roomNum) == NULL) ;
+ while (res.getRoom(--roomNum) == NULL)
+ ;
room.setRoomNumber(roomNum);
}
break;
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 310480d2e1..ca102e237c 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -233,7 +233,8 @@ bool LureEngine::loadGame(uint8 slotNumber) {
}
// Read in and discard the savegame caption
- while (f->readByte() != 0) ;
+ while (f->readByte() != 0)
+ ;
// Load in the data
Resources::getReference().loadFromStream(f);