aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2005-04-10 13:07:02 +0000
committerJoost Peters2005-04-10 13:07:02 +0000
commit232860bc44f6fc6706e554288992483ce0966918 (patch)
tree3abf526b86d61f4c61e893a7971e927158498623
parent871e278f8be3fc4b27fadca50922dd2193dbd409 (diff)
downloadscummvm-rg350-232860bc44f6fc6706e554288992483ce0966918.tar.gz
scummvm-rg350-232860bc44f6fc6706e554288992483ce0966918.tar.bz2
scummvm-rg350-232860bc44f6fc6706e554288992483ce0966918.zip
fix jumping goblin bug
svn-id: r17509
-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);