aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword2/driver/d_draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index f7f0f51add..208d3872cc 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -203,7 +203,7 @@ int32 MoviePlayer::play(char *filename, MovieTextObject *text[], uint8 *musicOut
// frame rate the original movies had, or even if it
// was constant, but this seems to work reasonably.
- while (_vm->_system->get_msecs() < ticks);
+ _vm->sleepUntil(ticks);
ticks += 82;
}