diff options
author | Sven Hesse | 2006-06-13 08:10:54 +0000 |
---|---|---|
committer | Sven Hesse | 2006-06-13 08:10:54 +0000 |
commit | 243e6b2d2711da4901110868c7bd8e4d9d20a74d (patch) | |
tree | f2b964b923081661f132165e72d123be37a264a4 /engines/gob/inter_v1.cpp | |
parent | 486f1813145e5da74314929cd3f4d9df4cfa4841 (diff) | |
download | scummvm-rg350-243e6b2d2711da4901110868c7bd8e4d9d20a74d.tar.gz scummvm-rg350-243e6b2d2711da4901110868c7bd8e4d9d20a74d.tar.bz2 scummvm-rg350-243e6b2d2711da4901110868c7bd8e4d9d20a74d.zip |
Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTable
svn-id: r23078
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index 7a3449f7f0..1db6498945 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -1263,7 +1263,7 @@ bool Inter_v1::o1_loadCursor(char &cmdCount, int16 &counter, int16 &retFlag) { if (offset >= 0) { dataBuf = - ((char *)_vm->_game->_totResourceTable) + szGame_TotResTable + + _vm->_game->_totResourceTable->dataPtr + szGame_TotResTable + szGame_TotResItem * _vm->_game->_totResourceTable->itemsCount + offset; } else { dataBuf = _vm->_game->_imFileData + (int32)READ_LE_UINT32(&((int32 *)_vm->_game->_imFileData)[-offset - 1]); |