summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-20 18:11:22 +0000
committertron <tron@openttd.org>2004-12-20 18:11:22 +0000
commit3bbea05a93f922a7e3c98f5474748027032ef2a9 (patch)
tree6c9d7d6c08b49689e69c4dd5f9eee4ea5ac68a66
parent3d0cd51f276d19da28d315e1169f43a38c587f36 (diff)
downloadopenttd-3bbea05a93f922a7e3c98f5474748027032ef2a9.tar.xz
(svn r1189) Fix vehicle list update glitch when moving waggons in depots
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
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;