File diff r15306:1e95a9ffc6fb → r15307:f844b2fa748c
src/waypoint.cpp
Show inline comments
 
@@ -43,15 +43,13 @@ void Waypoint::GetTileArea(TileArea *ta,
 
			ta->h    = 1;
 
			break;
 

	
 
		default: NOT_REACHED();
 
	}
 
}
 

	
 
Waypoint::~Waypoint()
 
{
 
	if (CleaningPool()) return;
 
	DeleteWindowById(WC_WAYPOINT_VIEW, this->index);
 
	RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
 

	
 
	this->sign.MarkDirty();
 
}