1
0
Fork 0

(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)

release/0.5
KUDr 2006-05-31 06:51:56 +00:00
parent c1983c3d02
commit ef211c35ce
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public:
// set origin and destination nodes
Yapf().SetOrigin(t1, td1, t2, td2, reverse_penalty, true);
Yapf().SetDestination(v);
Yapf().SetMaxCost(10 * max_distance);
Yapf().SetMaxCost(YAPF_TILE_LENGTH * max_distance);
// find the best path
bool bFound = Yapf().FindPath(v);