(cherry picked from commit a258833aee
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
7d17c9ba9b
commit
5322d33ca5
@@ -2395,8 +2395,8 @@ static void LoadUnloadVehicle(Vehicle *front)
|
|||||||
}
|
}
|
||||||
if (dirty_station) {
|
if (dirty_station) {
|
||||||
st->MarkTilesDirty(true);
|
st->MarkTilesDirty(true);
|
||||||
SetWindowDirty(WC_STATION_VIEW, last_visited);
|
SetWindowDirty(WC_STATION_VIEW, st->index);
|
||||||
InvalidateWindowData(WC_STATION_LIST, last_visited);
|
InvalidateWindowData(WC_STATION_LIST, st->owner);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -4708,7 +4708,7 @@ static uint UpdateStationWaiting(Station *st, CargoID type, uint amount, SourceT
|
|||||||
if (lg != nullptr) (*lg)[ge.node].UpdateSupply(amount);
|
if (lg != nullptr) (*lg)[ge.node].UpdateSupply(amount);
|
||||||
|
|
||||||
if (!ge.HasRating()) {
|
if (!ge.HasRating()) {
|
||||||
InvalidateWindowData(WC_STATION_LIST, st->index);
|
InvalidateWindowData(WC_STATION_LIST, st->owner);
|
||||||
SetBit(ge.status, GoodsEntry::GES_RATING);
|
SetBit(ge.status, GoodsEntry::GES_RATING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user