aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gob/goblin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/goblin.cpp b/gob/goblin.cpp
index 855a14b975..a56f23f2a5 100644
--- a/gob/goblin.cpp
+++ b/gob/goblin.cpp
@@ -1613,7 +1613,7 @@ void gob_moveAdvance(Gob_Object *gobDesc, int16 nextAct, int16 framesCount) {
newY =
scen_animations[gobDesc->animation].
- layers[gob_gobStateLayer]->animDeltaX + gobDesc->yPos;
+ layers[gob_gobStateLayer]->animDeltaY + gobDesc->yPos;
gob_gobStateLayer = gob_nextLayer(gobDesc);