aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/mult_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp
index 2fa3f44e70..2aae610932 100644
--- a/engines/gob/mult_v2.cpp
+++ b/engines/gob/mult_v2.cpp
@@ -1257,9 +1257,9 @@ void Mult_v2::animate(void) {
case 1:
animData1->frame = 0;
- *(_objects[i].pPosX) +=
+ *(animObj1->pPosX) +=
_vm->_scenery->_animations[(int)animData1->animation].layers[animData1->layer].animDeltaX;
- *(_objects[i].pPosY) +=
+ *(animObj1->pPosY) +=
_vm->_scenery->_animations[(int)animData1->animation].layers[animData1->layer].animDeltaY;
break;