From 74671bd2c91354d2f566b54f431bb6cc2e256483 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 8 May 2005 20:53:02 +0000 Subject: [PATCH] (svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P --- train_cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/train_cmd.c b/train_cmd.c index dc2ec32c03..7b8d06cc53 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -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) {