From: divverent Date: Tue, 20 Dec 2011 20:14:36 +0000 (+0000) Subject: if(developer_extra.integer) Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s... X-Git-Tag: xonotic-v0.6.0~103 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=64eb0ea56dff1c0abd86242321092d508e13567c;p=xonotic%2Fdarkplaces.git if(developer_extra.integer) Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s\" not found\n", PRVM_NUM_FOR_EDICT(ent), tag_name); git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11618 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=c47fb5c923c0e3b6c44bb068ceb44f7795834f5c --- diff --git a/cl_input.c b/cl_input.c index af5289f5..01850eff 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1794,7 +1794,10 @@ void CL_SendMove(void) cl.cmd.msec = (unsigned char)bound(0, msecdelta, 255); // ridiculous value rejection (matches qw) if (cl.cmd.msec > 250) + { + Con_Printf("RIDICULOUS! %f - %f > 0.25 sec, namely, %d ms, quemove=%d\n", cl.cmd.time, cl.movecmd[1].time, (int) msecdelta, (int) quemove); cl.cmd.msec = 100; + } cl.cmd.frametime = cl.cmd.msec * (1.0 / 1000.0); cl.cmd.predicted = cl_movement.integer != 0; diff --git a/clvm_cmds.c b/clvm_cmds.c index a07cee7a..7975bf1e 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -2500,7 +2500,8 @@ static void VM_CL_gettagindex (prvm_prog_t *prog) { tag_index = CL_GetTagIndex(prog, ent, tag_name); if (tag_index == 0) - Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s\" not found\n", PRVM_NUM_FOR_EDICT(ent), tag_name); + if(developer_extra.integer) + Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s\" not found\n", PRVM_NUM_FOR_EDICT(ent), tag_name); } PRVM_G_FLOAT(OFS_RETURN) = tag_index; }