diff options
author | Tim Angus <tim@ngus.net> | 2009-10-03 11:58:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:34 +0000 |
commit | ac3e5586cd56657ff1b6f5f64af7e1d7c76b410d (patch) | |
tree | b245f2cbd4e7491b948aea5c7c080be61307c950 /src/renderer/tr_scene.c | |
parent | dc3819f1e99d8159bdb0ea1da26506b00fe78e62 (diff) |
* Merge ioq3-r1458
Diffstat (limited to 'src/renderer/tr_scene.c')
-rw-r--r-- | src/renderer/tr_scene.c | 3 |
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 ) { |