From: divverent Date: Tue, 18 Dec 2007 13:47:31 +0000 (+0000) Subject: print ""gettagindex(entity #%i): tag \"%s\" not found" console spam only if developer... X-Git-Tag: xonotic-v0.1.0preview~2671 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ead905e1174c7043706153716cccebf1040a3a4;p=xonotic%2Fdarkplaces.git print ""gettagindex(entity #%i): tag \"%s\" not found" console spam only if developer >= 100 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7820 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/svvm_cmds.c b/svvm_cmds.c index 37d16985..f291e49c 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -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; };