From 232860bc44f6fc6706e554288992483ce0966918 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 10 Apr 2005 13:07:02 +0000 Subject: fix jumping goblin bug svn-id: r17509 --- gob/goblin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3