r1429 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 16 14:07:36 EDT 2008


Author: tma
Date: 2008-07-16 14:07:36 -0400 (Wed, 16 Jul 2008)
New Revision: 1429

Modified:
   trunk/code/renderer/tr_scene.c
Log:
* Fix confusion of cgame and renderer entity array bounds (Tr3B)


Modified: trunk/code/renderer/tr_scene.c
===================================================================
--- trunk/code/renderer/tr_scene.c	2008-07-16 17:45:10 UTC (rev 1428)
+++ trunk/code/renderer/tr_scene.c	2008-07-16 18:07:36 UTC (rev 1429)
@@ -208,8 +208,7 @@
 	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 ) {




More information about the quake3-commits mailing list