diff --git a/common/gl_refrag.c b/common/gl_refrag.c index 23b3f04..83fc2e9 100644 --- a/common/gl_refrag.c +++ b/common/gl_refrag.c @@ -162,6 +162,15 @@ R_AddEfrags(entity_t *ent) if (!ent->model) return; +#ifdef NQ_HACK + if (ent == cl_entities) + return; // never add the world +#endif +#ifdef QW_HACK + if (ent == &r_worldentity) + return; // never add the world +#endif + r_addent = ent; lastlink = &ent->efrag;