diff options
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r-- | engines/lab/intro.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp index d0406bc192..633691c820 100644 --- a/engines/lab/intro.cpp +++ b/engines/lab/intro.cpp @@ -36,6 +36,7 @@ #include "lab/intro.h" #include "lab/music.h" #include "lab/resource.h" +#include "lab/utils.h" namespace Lab { @@ -131,7 +132,7 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) { return; } - _vm->getTime(&lastSecs, &lastMicros); + _vm->_utils->getTime(&lastSecs, &lastMicros); } msg = _vm->getMsg(); @@ -139,8 +140,8 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) { if (msg == NULL) { _vm->_music->updateMusic(); _vm->_anim->diffNextFrame(); - _vm->getTime(&secs, µs); - _vm->anyTimeDiff(lastSecs, lastMicros, secs, micros, &secs, µs); + _vm->_utils->getTime(&secs, µs); + _vm->_utils->anyTimeDiff(lastSecs, lastMicros, secs, micros, &secs, µs); if (secs > timeDelay) { if (end) { |