(svn r16900) -Codechange: prepare the waypoint window for buoys

This commit is contained in:
rubidium
2009-07-21 16:30:01 +00:00
parent f09df64608
commit 0658d6cb3d
5 changed files with 21 additions and 11 deletions

View File

@@ -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);