File diff r10498:bb2b452f76fe → r10499:570896340d7a
src/train_gui.cpp
Show inline comments
 
@@ -43,7 +43,7 @@ void CcBuildWagon(bool success, TileInde
 
	if (found != NULL) {
 
		found = GetLastVehicleInChain(found);
 
		/* put the new wagon at the end of the loco. */
 
		DoCommandP(0, _new_vehicle_id | (found->index << 16), 0, NULL, CMD_MOVE_RAIL_VEHICLE);
 
		DoCommandP(0, _new_vehicle_id | (found->index << 16), 0, CMD_MOVE_RAIL_VEHICLE);
 
		InvalidateWindowClassesData(WC_TRAINS_LIST, 0);
 
	}
 
}