From 4e59ef714b11b27054771067dcadaeed1cbabee4 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 5 Nov 2011 00:56:26 +0000 Subject: [PATCH] Print developer message when renderer runs out of free entities. --- code/renderer/tr_scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/code/renderer/tr_scene.c b/code/renderer/tr_scene.c index 94910d61..d1d34e3c 100644 --- a/code/renderer/tr_scene.c +++ b/code/renderer/tr_scene.c @@ -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]) ) {