(svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer)
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
#include "direction.h"
|
||||
|
||||
enum {
|
||||
STR_FACTOR = 2,
|
||||
DIAG_FACTOR = 3
|
||||
};
|
||||
|
||||
//#define PF_BENCH // perform simple benchmarks on the train pathfinder (not
|
||||
//supported on all archs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user