summaryrefslogtreecommitdiff
path: root/src/pathfind.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-13 19:25:14 +0000
committerrubidium <rubidium@openttd.org>2008-04-13 19:25:14 +0000
commit9a73b698d4045fcf19a46193cecde62bb9626bae (patch)
tree62fb23e679baa7d7fef852eba8960e2a582d1f52 /src/pathfind.cpp
parent04138ddffca9a2614849e5040501c2e4ee0311fd (diff)
downloadopenttd-9a73b698d4045fcf19a46193cecde62bb9626bae.tar.xz
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r--src/pathfind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp
index e16836b17..89435aa39 100644
--- a/src/pathfind.cpp
+++ b/src/pathfind.cpp
@@ -17,7 +17,7 @@
#include "depot.h"
#include "tunnelbridge_map.h"
#include "core/random_func.hpp"
-#include "core/alloc_func.hpp"
+#include "core/alloc_type.hpp"
#include "tunnelbridge.h"
/* remember which tiles we have already visited so we don't visit them again. */