Releases texture memory,
used by the entity. Useful for freeing the video
memory when entities of a certain type won't be visible anymore.
Video memory is automatically allocated again when the entity is seen
the next time - so this function won't do any harm. However,
any functions affecting the entity
texture - such as bmap_to_alpha -
must be performed again. Thus ent_purge
can also be
used to change the alpha factor of an entity texture. In a multiplayer system
only affects the current PC.
ENTITY* - entity pointer.
ent_purge(player); // purges the player entity when in 1st person mode