diff --git a/code/renderer/tr_scene.c b/code/renderer/tr_scene.c index 3c5083b7..4802bcb1 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 ) {