summaryrefslogtreecommitdiff
path: root/npf.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-07-15 21:28:26 +0000
committerDarkvater <darkvater@openttd.org>2005-07-15 21:28:26 +0000
commit95463428c806c83e9383c413a04452274ee716fa (patch)
treee6a8586269965e4d359c151af3826423098a1046 /npf.c
parentc496d92c3e2d19c276a1d9ede104a7a86575693d (diff)
downloadopenttd-95463428c806c83e9383c413a04452274ee716fa.tar.xz
(svn r2585) - Fix [Makefile]: some small cleanups, remove warnings, and add mersenne to makefile (Luca)
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.