diff options
author | rubidium <rubidium@openttd.org> | 2010-08-07 20:52:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-07 20:52:45 +0000 |
commit | b6a0806948583a9551df6ae3601a7310e648207d (patch) | |
tree | e40ab7b652a3de753034576c0269c914a74bf85f /src/saveload | |
parent | 178f74c31cd79ac248308a6fa389e5aa223b0895 (diff) | |
download | openttd-b6a0806948583a9551df6ae3601a7310e648207d.tar.xz |
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/waypoint_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/waypoint_sl.cpp b/src/saveload/waypoint_sl.cpp index 8cc66d0a4..3cdafd990 100644 --- a/src/saveload/waypoint_sl.cpp +++ b/src/saveload/waypoint_sl.cpp @@ -85,7 +85,7 @@ void MoveWaypointsToBaseStations() for (OldWaypoint *wp = _old_waypoints.Begin(); wp != _old_waypoints.End(); wp++) { for (uint i = 0; i < GetNumCustomStations(STAT_CLASS_WAYP); i++) { const StationSpec *statspec = GetCustomStationSpec(STAT_CLASS_WAYP, i); - if (statspec != NULL && statspec->grffile->grfid == wp->grfid && statspec->localidx == wp->localidx) { + if (statspec != NULL && statspec->grf_prop.grffile->grfid == wp->grfid && statspec->grf_prop.local_id == wp->localidx) { wp->spec = statspec; break; } |