diff options
author | Sven Hesse | 2007-03-05 11:27:18 +0000 |
---|---|---|
committer | Sven Hesse | 2007-03-05 11:27:18 +0000 |
commit | 693d47450203695eb55ac6e55e438c84502cdb9f (patch) | |
tree | 9e76a330bc0e883a088fbb909a30a581d02e3371 /engines/gob | |
parent | 190e32725217b5328d154398fc1a9329a41a48a6 (diff) | |
download | scummvm-rg350-693d47450203695eb55ac6e55e438c84502cdb9f.tar.gz scummvm-rg350-693d47450203695eb55ac6e55e438c84502cdb9f.tar.bz2 scummvm-rg350-693d47450203695eb55ac6e55e438c84502cdb9f.zip |
Corrected the initial drawing position of 101-anims (e.g. the guard monster in the beach screen in Bargon Attack)
svn-id: r25991
Diffstat (limited to 'engines/gob')
-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 2bcf2deeec..8cb1c76c06 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1319,8 +1319,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->layer].posX; + *obj->pPosY = _vm->_scenery->_animations[objAnim->animation].layers[objAnim->layer].posY; } _vm->_scenery->updateAnim(layer, 0, animation, 0, *obj->pPosX, *obj->pPosY, 0); } |