aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/hotspots.cpp3
-rw-r--r--engines/gob/sound/adlib.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index e65ad13088..36e8244d3f 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -986,7 +986,8 @@ uint16 Hotspots::updateInput(uint16 xPos, uint16 yPos, uint16 width, uint16 heig
((_vm->_global->_useMouse != 0) || (_vm->_game->_forceHandleMouse != 0)))
handleMouse = true;
- while (_vm->_global->_pressedKeys[1] != 0);
+ while (_vm->_global->_pressedKeys[1] != 0)
+ ;
continue;
default:
diff --git a/engines/gob/sound/adlib.cpp b/engines/gob/sound/adlib.cpp
index 7ab8e1f8dd..170ed5ccf4 100644
--- a/engines/gob/sound/adlib.cpp
+++ b/engines/gob/sound/adlib.cpp
@@ -624,7 +624,8 @@ void MDYPlayer::interpret() {
ctrlByte2 = *(_playPos++);
if (ctrlByte1 != 0x7F || ctrlByte2 != 0) {
_playPos -= 2;
- while (*(_playPos++) != 0xF7);
+ while (*(_playPos++) != 0xF7)
+ ;
} else {
tempoMult = *(_playPos++);
tempoFrac = *(_playPos++);