diff options
Diffstat (limited to 'engines/bladerunner/ui/kia_section_pogo.cpp')
-rw-r--r-- | engines/bladerunner/ui/kia_section_pogo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/bladerunner/ui/kia_section_pogo.cpp b/engines/bladerunner/ui/kia_section_pogo.cpp index a0c5ac6a63..037cea957c 100644 --- a/engines/bladerunner/ui/kia_section_pogo.cpp +++ b/engines/bladerunner/ui/kia_section_pogo.cpp @@ -27,6 +27,7 @@ #include "bladerunner/font.h" #include "bladerunner/game_info.h" #include "bladerunner/text_resource.h" +#include "bladerunner/time.h" namespace BladeRunner { @@ -225,14 +226,14 @@ void KIASectionPogo::open() { _lineOffsets[i] = 0; } - _timeLast = _vm->getTotalPlayTime(); + _timeLast = _vm->_time->currentSystem(); _vm->_audioPlayer->playAud(_vm->_gameInfo->getSfxTrack(319), 100, 0, 0, 50, 0); } void KIASectionPogo::draw(Graphics::Surface &surface) { // Timing fixed for 60Hz by ScummVM team - int timeNow = _vm->getTotalPlayTime(); + int timeNow = _vm->_time->currentSystem(); bool updateTimeout = false; if (timeNow - _timeLast > 1000 / 60) { updateTimeout = true; |