diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-07-16 18:07:36 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-07-16 18:07:36 +0000 |
commit | b9ad917c3a926923bb43ea444a4b968960071307 (patch) | |
tree | 6cd923d856c54a6b3f3fdf072bddd92e30adc6e6 | |
parent | d991ff4a85ab475f78d2a17a44cd8144aa4c7a1c (diff) | |
download | ioquake3-aero-b9ad917c3a926923bb43ea444a4b968960071307.tar.gz ioquake3-aero-b9ad917c3a926923bb43ea444a4b968960071307.zip |
* 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
-rw-r--r-- | code/renderer/tr_scene.c | 3 |
1 files changed, 1 insertions, 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 ) { |