diff options
Diffstat (limited to 'engines/cryo')
-rw-r--r-- | engines/cryo/eden.cpp | 2 | ||||
-rw-r--r-- | engines/cryo/video.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp index 220b4bbb41..7ea23143c1 100644 --- a/engines/cryo/eden.cpp +++ b/engines/cryo/eden.cpp @@ -2321,7 +2321,7 @@ void EdenGame::my_bulle() { } else if (c >= 0x80 && c < 0x90) SysBeep(1); else if (c >= 0x90 && c < 0xA0) { - while (*textPtr++ != 0xFF); + while (*textPtr++ != 0xFF) {} textPtr--; } else if (c >= 0xA0 && c < 0xC0) _globals->_textToken1 = c & 0xF; diff --git a/engines/cryo/video.cpp b/engines/cryo/video.cpp index fe242425e5..fe8afb7ce8 100644 --- a/engines/cryo/video.cpp +++ b/engines/cryo/video.cpp @@ -102,7 +102,7 @@ void HnmPlayer::waitLoop() { _nextFrameTime = _expectedFrameTime - _timeDrift; if (_useSoundSync && _vm->_timerTicks > 1000.0 + _nextFrameTime) _useSound = false; - while (_vm->_timerTicks < _nextFrameTime) ; // waste time + while (_vm->_timerTicks < _nextFrameTime) {} // waste time _timeDrift = _vm->_timerTicks - _nextFrameTime; } |