From 8b0f1a673740eb718e092830a4d29bc07f8777c1 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 18 Nov 2009 20:26:44 +0000 Subject: [PATCH] * Rephrase broken compiler warning --- code/renderer/tr_scene.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/renderer/tr_scene.c b/code/renderer/tr_scene.c index dc76e0e9..970ac338 100644 --- a/code/renderer/tr_scene.c +++ b/code/renderer/tr_scene.c @@ -212,10 +212,10 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) { return; } if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) { - static qboolean first_time = qtrue; - if (first_time) { - first_time = qfalse; - Com_Printf(S_COLOR_YELLOW "WARNING: You might have built ioquake3 with a buggy compiler!\n"); + static qboolean firstTime = qtrue; + if (firstTime) { + firstTime = qfalse; + Com_DPrintf(S_COLOR_YELLOW "WARNING: RE_AddRefEntityToScene passed a refEntity which has an origin with a NaN component\n"); } return; }