Fix error with multi-quality paths.

This commit is contained in:
Tom Ritchford
2014-08-07 13:08:43 -04:00
committed by Vinnie Falco
parent 9e319d7bd6
commit 985aa803a4

View File

@@ -24,7 +24,7 @@ namespace path {
TER PathCursor::advanceNode (STAmount const& amount, bool reverse) const
{
if (!multiQuality_ || amount != zero)
if (!multiQuality_ && amount != zero)
return advanceNode (reverse);
PathCursor withMultiQuality{rippleCalc_, pathState_, true, nodeIndex_};