aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 7b77e5286c..df82e0e7b2 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -770,7 +770,7 @@ void ScummEngine_v72he::o72_getTimer() {
if (cmd == 10) {
checkRange(3, 1, timer, "o72_getTimer: Timer %d out of range(%d)");
- int diff = _system->get_msecs() - _timers[timer];
+ int diff = _system->getMillis() - _timers[timer];
push(diff);
} else {
push(0);
@@ -783,7 +783,7 @@ void ScummEngine_v72he::o72_setTimer() {
if (cmd == 158) {
checkRange(3, 1, timer, "o72_setTimer: Timer %d out of range(%d)");
- _timers[timer] = _system->get_msecs();
+ _timers[timer] = _system->getMillis();
} else {
error("TIMER command %d?", cmd);
}