[quake3-commits] r1753 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 18 15:26:44 EST 2009


Author: tma
Date: 2009-11-18 15:26:44 -0500 (Wed, 18 Nov 2009)
New Revision: 1753

Modified:
   trunk/code/renderer/tr_scene.c
Log:
* Rephrase broken compiler warning

Modified: trunk/code/renderer/tr_scene.c
===================================================================
--- trunk/code/renderer/tr_scene.c	2009-11-14 01:59:01 UTC (rev 1752)
+++ trunk/code/renderer/tr_scene.c	2009-11-18 20:26:44 UTC (rev 1753)
@@ -212,10 +212,10 @@
 		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;
 	}



More information about the quake3-commits mailing list