File diff r12939:325a5618a334 → r12940:ba419d226b67
src/road_cmd.cpp
Show inline comments
 
@@ -895,8 +895,8 @@ static CommandCost RemoveRoadDepot(TileI
 
	if (!EnsureNoVehicleOnGround(tile)) return CMD_ERROR;
 

	
 
	if (flags & DC_EXEC) {
 
		delete Depot::GetByTile(tile);
 
		DoClearSquare(tile);
 
		delete Depot::GetByTile(tile);
 
	}
 

	
 
	return CommandCost(EXPENSES_CONSTRUCTION, _price.remove_road_depot);