mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-12-13 02:56:31 +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)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user