(svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user