FULLPIPE: Initialize variables

This commit is contained in:
Eugene Sandulenko
2014-01-06 23:24:36 +02:00
parent a215472f97
commit 352b8a67f0
+3 -3
View File
@@ -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;