mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-19 07:30:53 +00:00
* Rephrase broken compiler warning
This commit is contained in:
parent
10cdcdb0a1
commit
8b0f1a6737
1 changed files with 4 additions and 4 deletions
|
@ -212,10 +212,10 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) {
|
if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) {
|
||||||
static qboolean first_time = qtrue;
|
static qboolean firstTime = qtrue;
|
||||||
if (first_time) {
|
if (firstTime) {
|
||||||
first_time = qfalse;
|
firstTime = qfalse;
|
||||||
Com_Printf(S_COLOR_YELLOW "WARNING: You might have built ioquake3 with a buggy compiler!\n");
|
Com_DPrintf(S_COLOR_YELLOW "WARNING: RE_AddRefEntityToScene passed a refEntity which has an origin with a NaN component\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue