diff options
author | Eugene Sandulenko | 2014-01-06 22:46:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-06 23:24:36 +0200 |
commit | 352b8a67f02bce2f3bc56aece21bffc52eb0508d (patch) | |
tree | 991342076e6d857edef8f2d6df2fc20425b991ba /engines | |
parent | a215472f97f3f5d6a23cb0968892ead1f4d9bc27 (diff) | |
download | scummvm-rg350-352b8a67f02bce2f3bc56aece21bffc52eb0508d.tar.gz scummvm-rg350-352b8a67f02bce2f3bc56aece21bffc52eb0508d.tar.bz2 scummvm-rg350-352b8a67f02bce2f3bc56aece21bffc52eb0508d.zip |
FULLPIPE: Initialize variables
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; |