aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/parser.cpp')
-rw-r--r--engines/avalanche/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp
index 1b6bc78fb8..6090dc967a 100644
--- a/engines/avalanche/parser.cpp
+++ b/engines/avalanche/parser.cpp
@@ -605,8 +605,8 @@ Common::String Parser::totalTime() {
uint32 curTime = _vm->getTimeInSeconds() - _vm->_startTime;
if (_vm->_isLoaded)
- curTime += _vm->_totalTime;
-
+ curTime += _vm->_totalTime;
+
h = (uint16)(curTime / 3600);
s = (uint16)(curTime % 3600);
m = s / 60;