(svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 20 years ago
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…
Cancel
Save