# HG changeset patch # User Darkvater # Date 2005-05-08 20:53:02 # Node ID 3cedf5de23f3c50b038783e6e616b2aef23d7a1d # Parent 078301f9cae30c16079d1c01a15a664654a1fc06 (svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -935,6 +935,7 @@ int32 CmdSellRailWagon(int x, int y, uin DeleteWindowById(WC_VEHICLE_VIEW, first->index); InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Train); InvalidateWindow(WC_VEHICLE_DEPOT, first->tile); + RebuildVehicleLists(); } switch (p2) {