aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game_v1.cpp')
-rw-r--r--engines/gob/game_v1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/game_v1.cpp b/engines/gob/game_v1.cpp
index 92679cb568..31847075bc 100644
--- a/engines/gob/game_v1.cpp
+++ b/engines/gob/game_v1.cpp
@@ -164,7 +164,7 @@ void Game_v1::playTot(int16 skipPlay) {
if (!_vm->_inter->_variables)
_vm->_inter->allocateVars(_script->getVariablesCount() & 0xFFFF);
- _script->seek(_script->getStartOffset());
+ _script->seek(_script->getFunctionOffset(Script::kFunctionStart));
_vm->_inter->renewTimeInVars();