summaryrefslogtreecommitdiff
path: root/pathfind.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-21 18:44:27 +0000
committertron <tron@openttd.org>2005-07-21 18:44:27 +0000
commit284d9ed7fb9704f043220414efe0886aa2fa158e (patch)
tree40c76d5b06cedd6690c474d31ee1fed9d3ab7b55 /pathfind.c
parent31e87de71e945c55b70695eda79510d9530d4eb6 (diff)
downloadopenttd-284d9ed7fb9704f043220414efe0886aa2fa158e.tar.xz
(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Diffstat (limited to 'pathfind.c')
-rw-r--r--pathfind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pathfind.c b/pathfind.c
index 715fb95fe..737b6d36d 100644
--- a/pathfind.c
+++ b/pathfind.c
@@ -5,6 +5,7 @@
#include "pathfind.h"
#include "rail.h"
#include "debug.h"
+#include "variables.h"
// remember which tiles we have already visited so we don't visit them again.
static bool TPFSetTileBit(TrackPathFinder *tpf, TileIndex tile, int dir)