From a20f90cbb7bfd61ee32ccd32603766de02c03ac8 Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Sun, 22 Apr 2018 00:49:39 +0200 Subject: JANITORIAL: Fix formatting --- engines/cryo/eden.cpp | 2 +- engines/cryo/video.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cryo') 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; } -- cgit v1.2.3