summaryrefslogtreecommitdiff
path: root/src/saveload/station_sl.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-24 19:09:48 +0000
committerrubidium <rubidium@openttd.org>2009-07-24 19:09:48 +0000
commit7a24fba918f924df87f4fbc9bb304068d6b71faa (patch)
tree903451da8b1b290ab6065b198eb605d2c357bc6e /src/saveload/station_sl.cpp
parentd11ec2d1afb4bf542b1caf196379d83934d97d39 (diff)
downloadopenttd-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.cpp4
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),