summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-06 17:40:21 +0000
committertron <tron@openttd.org>2005-08-06 17:40:21 +0000
commit486cffd2ad64a828a241ea45695654aa8c1c4458 (patch)
treed029614e85326d4e6edd38b2df4e06c8625d53c3 /station_cmd.c
parentcfda4bb38cd31f09df024f9d1f9c65178ebeb312 (diff)
downloadopenttd-486cffd2ad64a828a241ea45695654aa8c1c4458.tar.xz
(svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index d35626b1a..3199d4d4f 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -3139,7 +3139,7 @@ static void SaveLoad_STNS(Station *st)
SlObject(&st->goods[i], _goods_desc);
/* In older versions, enroute_from had 0xFF as INVALID_STATION, is now 0xFFFF */
- if (_sl.full_version < 0x700 && st->goods[i].enroute_from == 0xFF)
+ if (_sl_full_version < 0x700 && st->goods[i].enroute_from == 0xFF)
st->goods[i].enroute_from = 0xFFFF;
}
}
@@ -3177,7 +3177,7 @@ static void Load_STNS(void)
st->trainst_h = h;
}
- if (_sl.full_version < 0x600) {
+ if (_sl_full_version < 0x600) {
/* Convert old bus and truck tile to new-ones */
if (st->bus_tile_obsolete != 0) {
st->bus_stops = AllocateRoadStop();