summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-09 23:00:59 +0000
committersmatz <smatz@openttd.org>2008-01-09 23:00:59 +0000
commitbc4ed3eafd45062068dd397ffd602845d747597a (patch)
tree3de62d8fa49bd51c2036af4c35d3e035e59db6ea /src/waypoint.cpp
parentc004cc1fd9e706cbd9117e030c73f2043d7d974e (diff)
downloadopenttd-bc4ed3eafd45062068dd397ffd602845d747597a.tar.xz
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 39d44981a..b228b0671 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -29,8 +29,10 @@
#include "vehicle_func.h"
#include "vehicle_base.h"
#include "string_func.h"
+#include "signal_func.h"
#include "player.h"
+
enum {
MAX_WAYPOINTS_PER_TOWN = 64,
};