/** * @brief Purges all the AI from the entities. */ void AIL_Cleanup (void) { edict_t *ent = NULL; while ((ent = G_EdictsGetNextActor(ent))) AIL_CleanupActor(ent); }
/** * @brief Purges all the AI from the entities. */ void AIL_Cleanup (void) { Edict *ent = nullptr; while ((ent = G_EdictsGetNextActor(ent))) AIL_CleanupActor(ent); }