summaryrefslogtreecommitdiff
path: root/npf.c
diff options
context:
space:
mode:
Diffstat (limited to 'npf.c')
-rw-r--r--npf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/npf.c b/npf.c
index 67eb2b830..81601cb97 100644
--- a/npf.c
+++ b/npf.c
@@ -71,11 +71,13 @@ bool IsEndOfLine(TileIndex tile, Trackdir trackdir, RailType enginetype)
}
};
+#if 0
static uint NTPHash(uint key1, uint key2)
{
/* This function uses the old hash, which is fixed on 10 bits (1024 buckets) */
return PATHFIND_HASH_TILE(key1);
}
+#endif
/**
* Calculates a hash value for use in the NPF.