diff options
author | Sven Hesse | 2006-06-12 21:33:30 +0000 |
---|---|---|
committer | Sven Hesse | 2006-06-12 21:33:30 +0000 |
commit | 796b001b4f2184094beac0e7318d4fb70fca58e9 (patch) | |
tree | 6b41489eb920c51e9de260efc7886750bbb7dbcd /engines/gob/inter_v2.cpp | |
parent | da64d9f72edf3094592f181f2992c4acff5e0a9d (diff) | |
download | scummvm-rg350-796b001b4f2184094beac0e7318d4fb70fca58e9.tar.gz scummvm-rg350-796b001b4f2184094beac0e7318d4fb70fca58e9.tar.bz2 scummvm-rg350-796b001b4f2184094beac0e7318d4fb70fca58e9.zip |
Fixing loading of Scenery::_animations[] + small gob2 cleanup
svn-id: r23066
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r-- | engines/gob/inter_v2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index a7bceee98e..2e14691537 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1172,8 +1172,8 @@ void Inter_v2::loadMult(void) { objAnim->layer = obj->goblinStates[objAnim->state][0].layer; objAnim->animation = animation; if ((*obj->pPosX == 1000) && (*obj->pPosY == 1000)) { - *obj->pPosX = _vm->_scenery->_animations[objAnim->animation].layers[objAnim->state]->posX; - *obj->pPosY = _vm->_scenery->_animations[objAnim->animation].layers[objAnim->state]->posY; + *obj->pPosX = _vm->_scenery->_animations[objAnim->animation].layers[objAnim->state].posX; + *obj->pPosY = _vm->_scenery->_animations[objAnim->animation].layers[objAnim->state].posY; } _vm->_scenery->updateAnim(layer, 0, animation, 0, *obj->pPosX, *obj->pPosY, 0); } |