mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Phase one of the pathfinding fix.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user