diff options
Diffstat (limited to 'sword2/sword2.cpp')
-rw-r--r-- | sword2/sword2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp index 045b27291f..138283c547 100644 --- a/sword2/sword2.cpp +++ b/sword2/sword2.cpp @@ -477,8 +477,8 @@ void Sword2Engine::startGame(void) { // FIXME: Move this to some better place? -void Sword2Engine::sleepUntil(int32 time) { - while ((int32) SVM_timeGetTime() < time) { +void Sword2Engine::sleepUntil(uint32 time) { + while (_system->get_msecs() < time) { // Make sure menu animations and fades don't suffer _graphics->processMenu(); _graphics->updateDisplay(); |