mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-31 11:20:32 +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 ) {
|
if ( !tr.registered ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=402
|
if ( r_numentities >= MAX_ENTITIES ) {
|
||||||
if ( r_numentities >= ENTITYNUM_WORLD ) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( ent->reType < 0 || ent->reType >= RT_MAX_REF_ENTITY_TYPE ) {
|
if ( ent->reType < 0 || ent->reType >= RT_MAX_REF_ENTITY_TYPE ) {
|
||||||
|
|
Loading…
Reference in a new issue