diff options
Diffstat (limited to 'engines/gob/game_v1.cpp')
-rw-r--r-- | engines/gob/game_v1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/game_v1.cpp b/engines/gob/game_v1.cpp index 590ecfa2a7..b539a63fd2 100644 --- a/engines/gob/game_v1.cpp +++ b/engines/gob/game_v1.cpp @@ -173,8 +173,7 @@ void Game_v1::playTot(int16 skipPlay) { variablesCount = READ_LE_UINT32((char *)_totFileData + 0x2c); _vm->_global->_inter_variables = new char[variablesCount * 4]; _vm->_global->_inter_variablesSizes = new byte[variablesCount * 4]; - for (i = 0; i < variablesCount; i++) - WRITE_VAR(i, 0); + _vm->_global->clearVars(variablesCount); } _vm->_global->_inter_execPtr = (char *)_totFileData; |