From 67db5087cd472e0cf340c86b85d0c195e7c123cf Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 27 Sep 2008 14:58:46 +0000 Subject: (svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains. --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle.cpp') diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 5a9dbca72..660406016 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1274,7 +1274,7 @@ CommandCost CmdDepotMassAutoReplace(TileIndex tile, uint32 flags, uint32 p1, uin if (!IsDepotTile(tile) || !IsTileOwner(tile, _current_player)) return CMD_ERROR; /* Get the list of vehicles in the depot */ - BuildDepotVehicleList(vehicle_type, tile, &list, &list); + BuildDepotVehicleList(vehicle_type, tile, &list, &list, true); bool did_something = false; -- cgit v1.2.3-54-g00ecf