(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
This commit is contained in:
@@ -95,6 +95,11 @@ void AfterLoadStations()
|
||||
|
||||
if (Station::IsExpected(st)) {
|
||||
for (CargoID c = 0; c < NUM_CARGO; c++) Station::From(st)->goods[c].cargo.InvalidateCache();
|
||||
} else if (st->facilities & FACIL_TRAIN) {
|
||||
/* Temporary fill this variable with correct data. */
|
||||
st->train_station.tile = st->xy;
|
||||
st->train_station.w = 1;
|
||||
st->train_station.h = 1;
|
||||
}
|
||||
|
||||
StationUpdateAnimTriggers(st);
|
||||
|
Reference in New Issue
Block a user