From 3bbea05a93f922a7e3c98f5474748027032ef2a9 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 20 Dec 2004 18:11:22 +0000 Subject: (svn r1189) Fix vehicle list update glitch when moving waggons in depots --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_cmd.c b/train_cmd.c index 389141d46..28203b21f 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -732,7 +732,7 @@ int32 CmdMoveRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2) } InvalidateWindow(WC_VEHICLE_DEPOT, src_head->tile); - InvalidateWindow(WC_TRAINS_LIST, _current_player); + RebuildVehicleLists(); } return 0; -- cgit v1.2.3-70-g09d2