From 0ead905e1174c7043706153716cccebf1040a3a4 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 18 Dec 2007 13:47:31 +0000 Subject: [PATCH] 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 --- svvm_cmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }; -- 2.39.2