diff options
author | Bastien Bouclet | 2017-07-01 22:44:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | ea303ab682c9d8167f827e0a84cc72336ce2cc42 (patch) | |
tree | 0366282afbe39ae2dca88be92c50b7d848a71ed1 /engines/mohawk/riven_stacks/pspit.cpp | |
parent | ee70244fbfb981fc16c77b10bab6546cf5e5cb0d (diff) | |
download | scummvm-rg350-ea303ab682c9d8167f827e0a84cc72336ce2cc42.tar.gz scummvm-rg350-ea303ab682c9d8167f827e0a84cc72336ce2cc42.tar.bz2 scummvm-rg350-ea303ab682c9d8167f827e0a84cc72336ce2cc42.zip |
MOHAWK: Switch timers to script commands
Diffstat (limited to 'engines/mohawk/riven_stacks/pspit.cpp')
-rw-r--r-- | engines/mohawk/riven_stacks/pspit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven_stacks/pspit.cpp b/engines/mohawk/riven_stacks/pspit.cpp index 6fb5478aef..4281e7980e 100644 --- a/engines/mohawk/riven_stacks/pspit.cpp +++ b/engines/mohawk/riven_stacks/pspit.cpp @@ -80,7 +80,7 @@ void PSpit::catherineIdleTimer() { _vm->_vars["pcathtime"] = timeUntilNextMovie + _vm->getTotalPlayTime(); - _vm->installTimer(TIMER(PSpit, catherineIdleTimer), timeUntilNextMovie); + installTimer(TIMER(PSpit, catherineIdleTimer), timeUntilNextMovie); } void PSpit::xpisland990_elevcombo(uint16 argc, uint16 *argv) { @@ -131,7 +131,7 @@ void PSpit::installCardTimer() { if (getCurrentCardGlobalId() == 0x3a85) { // Top of elevator on prison island // Handle Catherine hardcoded videos - _vm->installTimer(TIMER(PSpit, catherineIdleTimer), _vm->_rnd->getRandomNumberRng(1, 33) * 1000); + installTimer(TIMER(PSpit, catherineIdleTimer), _vm->_rnd->getRandomNumberRng(1, 33) * 1000); } else { RivenStack::installCardTimer(); } |