[Scummvm-cvs-logs] scummvm master -> 1111b24eea98bd31497585fed7dbafd353dd06e8
sev-
sev at scummvm.org
Wed Aug 24 20:44:01 CEST 2016
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:
1111b24eea FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir
Commit: 1111b24eea98bd31497585fed7dbafd353dd06e8
https://github.com/scummvm/scummvm/commit/1111b24eea98bd31497585fed7dbafd353dd06e8
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-08-24T20:43:22+02:00
Commit Message:
FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir
Changed paths:
engines/fullpipe/motion.cpp
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index d3b29b3..f0166da 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -2476,7 +2476,7 @@ int MctlGraph::getLinkDir(Common::Array<MovGraphLink *> *linkList, int idx, Comm
}
if (abs(node3->_x - node2->_x) <= abs(node3->_y - node2->_y))
- return (node3->_y < node2->_x) + 2;
+ return (node3->_y < node2->_y) + 2;
else
return node3->_x >= node2->_x;
}
More information about the Scummvm-git-logs
mailing list