diff options
Diffstat (limited to 'engines')
-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); } |