aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_scene.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/code/renderer/tr_scene.c b/code/renderer/tr_scene.c
index 3c5083b..4802bcb 100644
--- a/code/renderer/tr_scene.c
+++ b/code/renderer/tr_scene.c
@@ -208,8 +208,7 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) {
if ( !tr.registered ) {
return;
}
- // https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=402
- if ( r_numentities >= ENTITYNUM_WORLD ) {
+ if ( r_numentities >= MAX_ENTITIES ) {
return;
}
if ( ent->reType < 0 || ent->reType >= RT_MAX_REF_ENTITY_TYPE ) {