aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-11-26 23:14:30 -0500
committerEugene Sandulenko2013-11-26 23:15:47 -0500
commit57f45a76f28f20feb40b55ea2bb0edb7d19f7717 (patch)
tree228aa41a9880caafdacb028e2adda5df49218f93
parent38163df9a645ae2a20f3aeaac7afd759a0900eb8 (diff)
downloadscummvm-rg350-57f45a76f28f20feb40b55ea2bb0edb7d19f7717.tar.gz
scummvm-rg350-57f45a76f28f20feb40b55ea2bb0edb7d19f7717.tar.bz2
scummvm-rg350-57f45a76f28f20feb40b55ea2bb0edb7d19f7717.zip
FULLPIPE: Fix variable initialization. Thanks to md5 for pointing out
-rw-r--r--engines/fullpipe/motion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index c1977c0ac3..280a7c27b0 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -979,6 +979,8 @@ MessageQueue *MovGraph2::doWalkTo(StaticANIObject *obj, int xpos, int ypos, int
if (minPath < 0.0 || ((linkInfoSource.node != linkInfoDest.node || !linkInfoSource.node) && !tempLinkList.size()))
return 0;
+ memset(&movInfo1, 0, sizeof(movInfo1));
+
movInfo1.subIndex = idxsub;
movInfo1.pt1.x = obj->_ox;
movInfo1.pt1.y = obj->_oy;