diff options
author | rubidium <rubidium@openttd.org> | 2009-07-24 19:09:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-24 19:09:48 +0000 |
commit | 7a24fba918f924df87f4fbc9bb304068d6b71faa (patch) | |
tree | 903451da8b1b290ab6065b198eb605d2c357bc6e /src/saveload/station_sl.cpp | |
parent | d11ec2d1afb4bf542b1caf196379d83934d97d39 (diff) | |
download | openttd-7a24fba918f924df87f4fbc9bb304068d6b71faa.tar.xz |
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
Diffstat (limited to 'src/saveload/station_sl.cpp')
-rw-r--r-- | src/saveload/station_sl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp index c367273bf..cb6cf1733 100644 --- a/src/saveload/station_sl.cpp +++ b/src/saveload/station_sl.cpp @@ -297,7 +297,7 @@ static const SaveLoad _base_station_desc[] = { static const SaveLoad _station_desc[] = { SLE_WRITEBYTE(Station, facilities, FACIL_NONE), - SLE_ST_INCLUDEX(), + SLE_ST_INCLUDE(), SLE_VAR(Station, train_tile, SLE_UINT32), SLE_VAR(Station, trainst_w, SLE_UINT8), @@ -323,7 +323,7 @@ static const SaveLoad _station_desc[] = { static const SaveLoad _waypoint_desc[] = { SLE_WRITEBYTE(Waypoint, facilities, FACIL_WAYPOINT), - SLE_ST_INCLUDEX(), + SLE_ST_INCLUDE(), SLE_VAR(Waypoint, town_cn, SLE_UINT16), |