IOQ3 commit 2195

This commit is contained in:
Richard Allen 2012-01-13 17:07:36 +00:00
parent 417ec1d5a3
commit 54448fe498

View file

@ -209,6 +209,7 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) {
return;
}
if ( r_numentities >= MAX_ENTITIES ) {
ri.Printf(PRINT_DEVELOPER, "RE_AddRefEntityToScene: Dropping refEntity, reached MAX_ENTITIES\n");
return;
}
if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) {