]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
if(developer_extra.integer) Con_DPrintf("VM_CL_gettagindex(entity #%i): tag \"%s...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Dec 2011 20:14:36 +0000 (20:14 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 20 Dec 2011 20:14:16 +0000 (21:14 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11618 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c47fb5c923c0e3b6c44bb068ceb44f7795834f5c

cl_input.c
clvm_cmds.c

index af5289f58690c2ae48adebf1a4dba695966224b4..01850effe830f6a3f26c155d0a29a1fdb188c297 100644 (file)
@@ -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;
index a07cee7a152ab91f2bf6cb455951ae5e5a6e4687..7975bf1e9e8c451295c6c81511123b71bb617789 100644 (file)
@@ -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;
 }