diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene25.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene25.cpp b/engines/fullpipe/scenes/scene25.cpp index 5c2ddc695e..574e3ddace 100644 --- a/engines/fullpipe/scenes/scene25.cpp +++ b/engines/fullpipe/scenes/scene25.cpp @@ -436,7 +436,7 @@ void sceneHandler25_backToPipe() { void sceneHandler25_walkOnLadder(StaticANIObject *ani, Common::Point *pnt, MessageQueue *mq, int flag) { int aniY = ani->_oy; - int newx, newy; + int newx = 0, newy = 0; Common::Point point; ExCommand *ex; @@ -488,7 +488,7 @@ void sceneHandler25_walkOnLadder(StaticANIObject *ani, Common::Point *pnt, Messa for (int i = 0; i < numObsolete; i++) mq->deleteExCommandByIndex(0, 1); - ex = new ExCommand(ani->_id, 34, 256, 0, 0, 0, 1, 0, 0, 0); + ex = new ExCommand(ani->_id, 34, 256, 0, 0, 0, 1, 0, 0, 0); ex->_field_14 = 256; ex->_messageNum = 0; @@ -588,7 +588,7 @@ int sceneHandler25(ExCommand *cmd) { break; case 33: - if (g_fp->_aniMan2) { + if (g_fp->_aniMan2) { int x = g_fp->_aniMan2->_ox; int y = g_fp->_aniMan2->_oy; |