diff options
author | tron <tron@openttd.org> | 2007-01-17 21:14:17 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-17 21:14:17 +0000 |
commit | 3d1735fcfd5e3158bef0ea82b47b265c464107bb (patch) | |
tree | af04f21cea303100c3a5905accfde29ee18ee33a /src/oldloader.cpp | |
parent | 27dde23409f9955a99fd904d2b9944380124a7e2 (diff) | |
download | openttd-3d1735fcfd5e3158bef0ea82b47b265c464107bb.tar.xz |
(svn r8207) -Fix
Remove the write-only attribute RoadStop::station
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index d2e67a1b5..50dbeeea0 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -314,10 +314,8 @@ static void FixOldStations(void) } /* Check if there is a bus or truck station, and convert to new format */ - if (st->bus_tile_obsolete != 0) st->bus_stops = new RoadStop(st->bus_tile_obsolete, st->index); - - if (st->lorry_tile_obsolete != 0) st->truck_stops = new RoadStop(st->lorry_tile_obsolete, st->index); - + if (st->bus_tile_obsolete != 0) st->bus_stops = new RoadStop(st->bus_tile_obsolete); + if (st->lorry_tile_obsolete != 0) st->truck_stops = new RoadStop(st->lorry_tile_obsolete); } } |