diff options
Diffstat (limited to 'engines/gob/parse.cpp')
-rw-r--r-- | engines/gob/parse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/parse.cpp b/engines/gob/parse.cpp index 4c949183e0..81a7da6389 100644 --- a/engines/gob/parse.cpp +++ b/engines/gob/parse.cpp @@ -44,7 +44,7 @@ int32 Parse::encodePtr(byte *ptr, int type) { offset = ptr - _vm->_game->_totFileData; break; case kInterVar: - offset = ptr - ((byte *) _vm->_inter->_variables->getAddressOff8(0, 0)); + offset = ptr - ((byte *) _vm->_inter->_variables->getAddressOff8(0)); break; case kResStr: offset = ptr - ((byte *) _vm->_global->_inter_resStr); @@ -64,7 +64,7 @@ byte *Parse::decodePtr(int32 n) { ptr = _vm->_game->_totFileData; break; case kInterVar: - ptr = (byte *) _vm->_inter->_variables->getAddressOff8(0, 0); + ptr = (byte *) _vm->_inter->_variables->getAddressOff8(0); break; case kResStr: ptr = (byte *) _vm->_global->_inter_resStr; |