summaryrefslogtreecommitdiff
path: root/src/renderer/tr_scene.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:58:50 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:34 +0000
commitac3e5586cd56657ff1b6f5f64af7e1d7c76b410d (patch)
treeb245f2cbd4e7491b948aea5c7c080be61307c950 /src/renderer/tr_scene.c
parentdc3819f1e99d8159bdb0ea1da26506b00fe78e62 (diff)
* Merge ioq3-r1458
Diffstat (limited to 'src/renderer/tr_scene.c')
-rw-r--r--src/renderer/tr_scene.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/tr_scene.c b/src/renderer/tr_scene.c
index 82084886..22b3842b 100644
--- a/src/renderer/tr_scene.c
+++ b/src/renderer/tr_scene.c
@@ -209,8 +209,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 ) {