]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
hush a warning in Fantasy Quake (SOLID_BSP on a sprite - makes no sense,
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Jul 2007 01:04:55 +0000 (01:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Jul 2007 01:04:55 +0000 (01:04 +0000)
but continuous spam about it annoys the player)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7493 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index a08f5d8bd39c60de43bebdf9e0ea5ed88b19058e..978768fe907c13f954da50f14300cf2cfe70009a 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -343,7 +343,7 @@ void SV_LinkEdict (prvm_edict_t *ent, qboolean touch_triggers)
                model = sv.models[modelindex];
                if (model != NULL)
                {
-                       if (!model->TraceBox)
+                       if (!model->TraceBox && developer.integer >= 1)
                                Con_Printf("edict %i: SOLID_BSP with non-collidable model\n", PRVM_NUM_FOR_EDICT(ent));
 
                        if (ent->fields.server->angles[0] || ent->fields.server->angles[2] || ent->fields.server->avelocity[0] || ent->fields.server->avelocity[2])