r4233 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Aug 29 05:25:51 EDT 2008
Author: div0
Date: 2008-08-29 05:25:46 -0400 (Fri, 29 Aug 2008)
New Revision: 4233
Modified:
trunk/data/qcsrc/client/csqc_constants.qc
trunk/data/qcsrc/client/laser.qc
Log:
make interpolation support slowmo
Modified: trunk/data/qcsrc/client/csqc_constants.qc
===================================================================
--- trunk/data/qcsrc/client/csqc_constants.qc 2008-08-29 09:15:58 UTC (rev 4232)
+++ trunk/data/qcsrc/client/csqc_constants.qc 2008-08-29 09:25:46 UTC (rev 4233)
@@ -58,7 +58,7 @@
const float STAT_MONSTERS = 14;
const float STAT_ITEMS = 15;
const float STAT_VIEWHEIGHT = 16;
-
+const float STAT_MOVEVARS_TIMESCALE = 241;
const float STAT_FRAGLIMIT = 235;
const float STAT_TIMELIMIT = 236;
Modified: trunk/data/qcsrc/client/laser.qc
===================================================================
--- trunk/data/qcsrc/client/laser.qc 2008-08-29 09:15:58 UTC (rev 4232)
+++ trunk/data/qcsrc/client/laser.qc 2008-08-29 09:25:46 UTC (rev 4233)
@@ -39,7 +39,7 @@
if(dt < 0.2)
{
self.itime1 = time;
- self.itime2 = time + getstatf(STAT_SYS_TICRATE);
+ self.itime2 = time + getstatf(STAT_SYS_TICRATE) * getstatf(STAT_MOVEVARS_TIMESCALE);
}
else
{
More information about the nexuiz-commits
mailing list