Skip to content

Commit

Permalink
effects: remove unused FMNodeInfo_new
Browse files Browse the repository at this point in the history
  • Loading branch information
0lvin committed Dec 17, 2024
1 parent 9a1cf07 commit d79c003
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/game/effects/client_entities.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ void ClientEntity_delete(client_entity_t *toDelete, centity_t *owner)
ResMngr_DeallocateResource(&EntityMngr, toDelete, sizeof(*toDelete));
}

fmnodeinfo_t *FMNodeInfo_new()
{
return (fmnodeinfo_t *)ResMngr_AllocateResource(&FMNodeInfoMngr, sizeof(fmnodeinfo_t)*MAX_FM_MESH_NODES);
}

void AddEffectToList(client_entity_t **root, client_entity_t *fx)
{
assert(root);
Expand Down
1 change: 0 additions & 1 deletion src/game/effects/client_entities.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ extern CE_ClassStatics_t ce_classStatics[CE_NUM_CLASSIDS];

void DoWaterSplash(client_entity_t *effect, paletteRGBA_t color, int count);
client_entity_t *ClientEntity_new(int type, int flags, vec3_t origin, vec3_t direction, int nextThinkTime);
fmnodeinfo_t *FMNodeInfo_new();
void AddEffectToList(client_entity_t **root, client_entity_t *fx);
void RemoveEffectList(client_entity_t **root);
void RemoveOwnedEffectList(centity_t *owner);
Expand Down

0 comments on commit d79c003

Please sign in to comment.