summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-21 16:30:01 +0000
committerrubidium <rubidium@openttd.org>2009-07-21 16:30:01 +0000
commit0658d6cb3d649c2e4ef9a8ebb1ae1440ae18e87d (patch)
treeaa80c3c150e3bc8f76cae4d025d46d274fa31305 /src/saveload
parentf09df6460885470a865eb31b843bb564f3a8a078 (diff)
downloadopenttd-0658d6cb3d649c2e4ef9a8ebb1ae1440ae18e87d.tar.xz
(svn r16900) -Codechange: prepare the waypoint window for buoys
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/waypoint_sl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/waypoint_sl.cpp b/src/saveload/waypoint_sl.cpp
index e759dc7f8..780271068 100644
--- a/src/saveload/waypoint_sl.cpp
+++ b/src/saveload/waypoint_sl.cpp
@@ -85,6 +85,8 @@ static void Load_WAYP()
Waypoint *wp = new (index) Waypoint();
SlObject(wp, _waypoint_desc);
+ wp->facilities |= FACIL_TRAIN;
+
if (_waypoint_spec.grfid != 0) {
wp->num_specs = 2;
wp->speclist = CallocT<StationSpecList>(2);