mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P
This commit is contained in:
parent
8d392cf5c7
commit
74671bd2c9
@ -935,6 +935,7 @@ int32 CmdSellRailWagon(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
||||
DeleteWindowById(WC_VEHICLE_VIEW, first->index);
|
||||
InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Train);
|
||||
InvalidateWindow(WC_VEHICLE_DEPOT, first->tile);
|
||||
RebuildVehicleLists();
|
||||
}
|
||||
|
||||
switch (p2) {
|
||||
|
Loading…
Reference in New Issue
Block a user