mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-12-13 19:42:05 +00:00
efrags: Don't add the world in glquake either
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
deb4578bc5
commit
730c3f112d
@ -162,6 +162,15 @@ R_AddEfrags(entity_t *ent)
|
|||||||
if (!ent->model)
|
if (!ent->model)
|
||||||
return;
|
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;
|
r_addent = ent;
|
||||||
|
|
||||||
lastlink = &ent->efrag;
|
lastlink = &ent->efrag;
|
||||||
|
Loading…
Reference in New Issue
Block a user