(svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer)

This commit is contained in:
Darkvater
2006-08-26 21:54:04 +00:00
parent ea0fbc1118
commit 4f00dd7400
3 changed files with 7 additions and 6 deletions

View File

@@ -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)