src/game/Editor/Editor_Undo.cc
static void DeleteTreeNode(MapIndexBinaryTree** node)
{
	if( (*node)->left )
		DeleteTreeNode( &((*node)->left) );
	if( (*node)->right )
		DeleteTreeNode( &((*node)->right) );
	delete *node;
	*node = NULL;
}
//Recursively deletes all nodes below the node passed including itself.
Recursively deletes all nodes below the node passed including itself.
Recursively deletes all nodes below the node passed including itself .
static void DeleteTreeNode(MapIndexBinaryTree** node)
{
	if( (*node)->left )
		DeleteTreeNode( &((*node)->left) );
	if( (*node)->right )
		DeleteTreeNode( &((*node)->right) );
	delete *node;
	*node = NULL;
}
static void DeleteTreeNode ( MapIndexBinaryTree * * node ) { if ( ( * node ) -> left ) DeleteTreeNode ( & ( ( * node ) -> left ) ) ; if ( ( * node ) -> right ) DeleteTreeNode ( & ( ( * node ) -> right ) ) ; delete * node ; * node = NULL ; }
Recursively deletes all nodes below the node passed including itself.
Recursively deletes all nodes below the node passed including itself .