[nexuiz-commits] r7714 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Sep 9 09:52:22 EDT 2009
Author: div0
Date: 2009-09-09 09:52:22 -0400 (Wed, 09 Sep 2009)
New Revision: 7714
Modified:
trunk/data/qcsrc/server/cl_physics.qc
trunk/data/qcsrc/server/g_subs.qc
Log:
do not restart the jump anim using the teleport bit, sorry
Modified: trunk/data/qcsrc/server/cl_physics.qc
===================================================================
--- trunk/data/qcsrc/server/cl_physics.qc 2009-09-09 13:33:38 UTC (rev 7713)
+++ trunk/data/qcsrc/server/cl_physics.qc 2009-09-09 13:52:22 UTC (rev 7714)
@@ -129,7 +129,8 @@
self.doublejump_nextjumptime = time + 4 / max(40, self.velocity_z); // max 0.1s blocking of jumps
}
- self.restart_jump = TRUE; // restart jump anim next time
+ self.restart_jump = -1; // restart jump anim next time
+ // value -1 is used to not use the teleport bit (workaround for tiny hitch when re-jumping)
}
void CheckWaterJump()
Modified: trunk/data/qcsrc/server/g_subs.qc
===================================================================
--- trunk/data/qcsrc/server/g_subs.qc 2009-09-09 13:33:38 UTC (rev 7713)
+++ trunk/data/qcsrc/server/g_subs.qc 2009-09-09 13:52:22 UTC (rev 7714)
@@ -22,6 +22,7 @@
{
if(restart)
{
+ if(restart > 0)
if(anim_y == 1) // ZYM animation
BITXOR_ASSIGN(e.effects, EF_TELEPORT_BIT);
}
More information about the nexuiz-commits
mailing list