diff options
author | Torbjörn Andersson | 2003-11-11 10:30:25 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-11 10:30:25 +0000 |
commit | 1f53624d88ac05bff0b4f408507eeca331cfdcd5 (patch) | |
tree | 682dd311f072b41437369e671a8d3d7a4faf5ab4 /sword2/sword2.cpp | |
parent | 70bc5d15ec0af3dd6c009063816dac1e045067ef (diff) | |
download | scummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.tar.gz scummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.tar.bz2 scummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.zip |
Removed SVM_timeGetTime(). We may as well call get_msecs() directly.
svn-id: r11260
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(); |