MCPcopy Create free account
hub / github.com/JACoders/OpenJK / FX_FreeMember

Function FX_FreeMember

code/cgame/FxUtil.cpp:136–146  ·  view source on GitHub ↗

------------------------- FX_FreeMember -------------------------

Source from the content-addressed store, hash-verified

134// FX_FreeMember
135//-------------------------
136static void FX_FreeMember( SEffectList *obj )
137{
138 obj->mEffect->Die();
139 delete obj->mEffect;
140 obj->mEffect = 0;
141
142 // May as well mark this to be used next
143 nextValidEffect = obj;
144
145 activeFx--;
146}
147
148
149//-------------------------

Callers 2

FX_GetValidEffectFunction · 0.70
FX_AddFunction · 0.70

Calls 1

DieMethod · 0.45

Tested by

no test coverage detected