feat(Functions): Delete entity, mark as no longer needed as well

This commit is contained in:
Yimura 2021-01-17 23:21:55 +01:00
parent dfc890752f
commit 7ce2dd69e6
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

View File

@ -126,6 +126,7 @@ namespace big::features::functions
ENTITY::DETACH_ENTITY(ent, 1, 1);
ENTITY::SET_ENTITY_COORDS_NO_OFFSET(ent, 0, 0, 0, 0, 0, 0);
ENTITY::SET_ENTITY_AS_MISSION_ENTITY(ent, 0, 1);
ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(&ent);
ENTITY::DELETE_ENTITY(&ent);
}