]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
print ""gettagindex(entity #%i): tag \"%s\" not found" console spam only if developer...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Dec 2007 13:47:31 +0000 (13:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Dec 2007 13:47:31 +0000 (13:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7820 d7cf8633-e32d-0410-b094-e92efae38249

svvm_cmds.c

index 37d1698525dddc3d07ea17776cd6046ff5547583..f291e49c3a6fbf35839ca4473864c57561f3c1ae 100644 (file)
@@ -2561,7 +2561,8 @@ static void VM_SV_gettagindex (void)
        {
                tag_index = SV_GetTagIndex(ent, tag_name);
                if (tag_index == 0)
-                       Con_DPrintf("gettagindex(entity #%i): tag \"%s\" not found\n", PRVM_NUM_FOR_EDICT(ent), tag_name);
+                       if(developer.integer >= 100)
+                               Con_Printf("gettagindex(entity #%i): tag \"%s\" not found\n", PRVM_NUM_FOR_EDICT(ent), tag_name);
        }
        PRVM_G_FLOAT(OFS_RETURN) = tag_index;
 };