diff options
author | Sven Hesse | 2009-06-23 01:21:51 +0000 |
---|---|---|
committer | Sven Hesse | 2009-06-23 01:21:51 +0000 |
commit | 3470faa9365445fe39653ba545117dca18e040a5 (patch) | |
tree | 853fcf4d00023865afd0f5821d2573e9e382d256 /engines/gob/game_v2.cpp | |
parent | 43923e8b333e97116c481d4ce266bb08c37bc195 (diff) | |
download | scummvm-rg350-3470faa9365445fe39653ba545117dca18e040a5.tar.gz scummvm-rg350-3470faa9365445fe39653ba545117dca18e040a5.tar.bz2 scummvm-rg350-3470faa9365445fe39653ba545117dca18e040a5.zip |
Added Script::getAnimDataSize()
svn-id: r41794
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r-- | engines/gob/game_v2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index 3c72172124..96a25cdf61 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -195,8 +195,7 @@ void Game_v2::playTot(int16 skipPlay) { loadImFile(); loadExtTable(); - _vm->_global->_inter_animDataSize = - READ_LE_UINT16(_script->getData() + 0x38); + _vm->_global->_inter_animDataSize = _script->getAnimDataSize(); if (!_vm->_inter->_variables) _vm->_inter->allocateVars(_script->getVariablesCount() & 0xFFFF); |