mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
This commit is contained in:
@@ -1933,8 +1933,8 @@ static void LoadUnloadVehicle(Vehicle *front)
|
||||
}
|
||||
if (dirty_station) {
|
||||
st->MarkTilesDirty(true);
|
||||
SetWindowDirty(WC_STATION_VIEW, last_visited);
|
||||
InvalidateWindowData(WC_STATION_LIST, last_visited);
|
||||
SetWindowDirty(WC_STATION_VIEW, st->index);
|
||||
InvalidateWindowData(WC_STATION_LIST, st->owner);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -4055,7 +4055,7 @@ static uint UpdateStationWaiting(Station *st, CargoID type, uint amount, SourceT
|
||||
if (lg != nullptr) (*lg)[ge.node].UpdateSupply(amount);
|
||||
|
||||
if (!ge.HasRating()) {
|
||||
InvalidateWindowData(WC_STATION_LIST, st->index);
|
||||
InvalidateWindowData(WC_STATION_LIST, st->owner);
|
||||
SetBit(ge.status, GoodsEntry::GES_RATING);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user