diff options
-rw-r--r-- | engines/gob/imd.cpp | 4 | ||||
-rw-r--r-- | engines/gob/mult_v2.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/imd.cpp b/engines/gob/imd.cpp index cf7792996f..9306f6a2ca 100644 --- a/engines/gob/imd.cpp +++ b/engines/gob/imd.cpp @@ -625,7 +625,7 @@ void ImdPlayer::play(const char *path, int16 x, int16 y, bool interruptible) { int16 buttons; _vm->_util->setFrameRate(12); - if(!openImd(path, x, y, 0, 2)) + if (!openImd(path, x, y, 0, 2)) return; _vm->_video->fillRect(_vm->_draw->_frontSurface, x, y, @@ -650,7 +650,7 @@ void ImdPlayer::play(const char *path, int16 x, int16 y, int16 startFrame, int endFrame; _vm->_util->setFrameRate(12); - if(!openImd(path, x, y, 0, 0)) + if (!openImd(path, x, y, 0, 0)) return; _vm->_video->fillRect(_vm->_draw->_frontSurface, x, y, diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp index 20fa5d4ae0..980bb8ab16 100644 --- a/engines/gob/mult_v2.cpp +++ b/engines/gob/mult_v2.cpp @@ -563,7 +563,7 @@ void Mult_v2::drawStatics(bool &stop) { _multData->staticKeys[_counter].layer; staticIndex = _multData->staticIndices[i]; - while(_vm->_scenery->getStaticLayersCount(staticIndex) <= + while (_vm->_scenery->getStaticLayersCount(staticIndex) <= _vm->_scenery->_curStaticLayer) { _vm->_scenery->_curStaticLayer -= _vm->_scenery->getStaticLayersCount(staticIndex); |