aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2006-12-17 21:21:26 +0000
committerSven Hesse2006-12-17 21:21:26 +0000
commit17700e2b52df347cb5a8d12b01f380846c872a87 (patch)
tree211a0001decd5a86c3c9d87f4533a88d25f5367d /engines
parenta2e9bc706c3792a5430fefe3cb040dd5ccc39b88 (diff)
downloadscummvm-rg350-17700e2b52df347cb5a8d12b01f380846c872a87.tar.gz
scummvm-rg350-17700e2b52df347cb5a8d12b01f380846c872a87.tar.bz2
scummvm-rg350-17700e2b52df347cb5a8d12b01f380846c872a87.zip
Fixed a walking animations related mistake
svn-id: r24867
Diffstat (limited to 'engines')
-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;