summaryrefslogtreecommitdiff
path: root/src/renderer/tr_scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_scene.c')
-rw-r--r--src/renderer/tr_scene.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/renderer/tr_scene.c b/src/renderer/tr_scene.c
index ae1376e9..232cb684 100644
--- a/src/renderer/tr_scene.c
+++ b/src/renderer/tr_scene.c
@@ -213,10 +213,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;
}