Exemplo n.º 1
0
static void destroy_server_family (entity *en)
{

	destroy_client_server_entity_children (en, LIST_TYPE_KEYSITE_FORCE);

	destroy_client_server_entity_children (en, LIST_TYPE_PILOT);

	destroy_client_server_entity_children (en, LIST_TYPE_AIR_REGISTRY);
	destroy_client_server_entity_children (en, LIST_TYPE_GROUND_REGISTRY);
	destroy_client_server_entity_children (en, LIST_TYPE_SEA_REGISTRY);

	destroy_client_server_entity (en);
}
Exemplo n.º 2
0
static void destroy_server_family (entity *en)
{

	destroy_client_server_entity_children (en, LIST_TYPE_MEMBER);

	destroy_client_server_entity (en);
}
Exemplo n.º 3
0
static void destroy_server_family (entity *en)
{
	destroy_client_server_entity_children (en, LIST_TYPE_MOVEMENT_DEPENDENT);

	destroy_client_server_sound_effects (en);

	destroy_client_server_entity (en);
}