cl_entities.c modification