aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index cea4ac3529..45bfcb94dd 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -361,7 +361,7 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
VAR_MOUSE_X = 0xFF;
VAR_MOUSE_Y = 0xFF;
VAR_TIMER = 0xFF;
- VAR_TMR_4 = 0xFF;
+ VAR_TIMER_TOTAL = 0xFF;
VAR_SOUNDCARD = 0xFF;
VAR_VIDEOMODE = 0xFF;
VAR_MAINMENU_KEY = 0xFF;
@@ -1777,8 +1777,8 @@ int ScummEngine::scummLoop(int delta) {
VAR(41) += delta;
}
}
- if (VAR_TMR_4 != 0xFF)
- VAR(VAR_TMR_4) += delta;
+ if (VAR_TIMER_TOTAL != 0xFF)
+ VAR(VAR_TIMER_TOTAL) += delta;
if (delta > 15)
delta = 15;