Phase one of the pathfinding fix.

This commit is contained in:
JoelKatz
2013-07-02 22:14:36 -07:00
parent 4ee46e3adb
commit d8033012ac

View File

@@ -519,6 +519,9 @@ TER RippleCalc::calcNodeDeliverRev (
if (tesSUCCESS != terResult)
break;
if (saInPassAct > saTakerPays)
saInPassAct = saTakerPays;
if (saInPassAct < saInPassReq)
{
// Adjust output to conform to limited input.