From b9ad917c3a926923bb43ea444a4b968960071307 Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 16 Jul 2008 18:07:36 +0000 Subject: * Fix confusion of cgame and renderer entity array bounds (Tr3B) git-svn-id: svn://svn.icculus.org/quake3/trunk@1429 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/renderer/tr_scene.c | 3 +-- 1 file changed, 1 insertion(+), 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 ) { -- cgit v1.2.3