[Scummvm-cvs-logs] scummvm master -> 57f45a76f28f20feb40b55ea2bb0edb7d19f7717
sev-
sev at scummvm.org
Wed Nov 27 05:16:15 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
57f45a76f2 FULLPIPE: Fix variable initialization. Thanks to md5 for pointing out
Commit: 57f45a76f28f20feb40b55ea2bb0edb7d19f7717
https://github.com/scummvm/scummvm/commit/57f45a76f28f20feb40b55ea2bb0edb7d19f7717
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-11-26T20:15:47-08:00
Commit Message:
FULLPIPE: Fix variable initialization. Thanks to md5 for pointing out
Changed paths:
engines/fullpipe/motion.cpp
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index c1977c0..280a7c2 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;
More information about the Scummvm-git-logs
mailing list