File diff r7412:e5f07529a093 → r7413:3ccdde9800e0
src/depot.cpp
Show inline comments
 
@@ -34,12 +34,14 @@ Depot *GetDepotByTile(TileIndex tile)
 

	
 
/**
 
 * Clean up a depot
 
 */
 
Depot::~Depot()
 
{
 
	if (CleaningPool()) return;
 

	
 
	/* Clear the depot from all order-lists */
 
	RemoveOrderFromAllVehicles(OT_GOTO_DEPOT, this->index);
 

	
 
	/* Delete the depot-window */
 
	DeleteWindowById(WC_VEHICLE_DEPOT, this->xy);
 
	this->xy = 0;