aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-09 22:46:38 +0300
committerEugene Sandulenko2014-06-09 22:46:38 +0300
commit729810bbc10d1078cfa14df32ceed1d35c1d42d4 (patch)
tree6b67086229d8f747bfd2f63760ba1af773eefde6
parent39088eec05c8cf8ba363def42e2c3aeecc38b397 (diff)
downloadscummvm-rg350-729810bbc10d1078cfa14df32ceed1d35c1d42d4.tar.gz
scummvm-rg350-729810bbc10d1078cfa14df32ceed1d35c1d42d4.tar.bz2
scummvm-rg350-729810bbc10d1078cfa14df32ceed1d35c1d42d4.zip
FULLPIPE: Initialize variable. CID 1153659
-rw-r--r--engines/fullpipe/motion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 321df7fd22..66d587f134 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -2430,7 +2430,7 @@ MessageQueue *MovGraph2::genMovement(MovInfo1 *info) {
int y = info->pt2.y - info->pt1.y - my2 - my1;
int x = info->pt2.x - info->pt1.x - mx2 - mx1;
- int a2;
+ int a2 = 0;
int mgmLen;
_mgm.calcLength(&point, _items2[info->index]->_subItems[info->subIndex]._walk[1]._mov, x, y, &mgmLen, &a2, info->flags & 1);