Skip to content

Commit

Permalink
FULLPIPE: Fix always false condition check in MctlGraph::generateList
Browse files Browse the repository at this point in the history
  • Loading branch information
Retro-Junk authored and sev- committed Aug 22, 2016
1 parent ec23290 commit cb5bf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/fullpipe/motion.cpp
Expand Up @@ -1932,7 +1932,7 @@ void MctlGraph::generateList(MctlMQ *movinfo, Common::Array<MovGraphLink *> *lin

movinfo->items.push_back(elem);

if (i == linkList->size()) {
if (i == linkList->size() - 1) {
elem = new MctlMQSub;
elem->subIndex = prevSubIndex;
elem->x = movinfo->pt2.x;
Expand Down

0 comments on commit cb5bf07

Please sign in to comment.