mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix confusion of cgame and renderer entity array bounds (Tr3B)
This commit is contained in:
parent
42e444ea0b
commit
3855f65d17
1 changed files with 1 additions and 2 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue