r4382 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Sep 6 14:39:31 EDT 2008
Author: div0
Date: 2008-09-06 14:39:31 -0400 (Sat, 06 Sep 2008)
New Revision: 4382
Modified:
trunk/data/qcsrc/client/Main.qc
trunk/data/qcsrc/client/View.qc
trunk/data/qcsrc/client/main.qh
Log:
fixing warmup part 1
Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc 2008-09-06 16:44:32 UTC (rev 4381)
+++ trunk/data/qcsrc/client/Main.qc 2008-09-06 18:39:31 UTC (rev 4382)
@@ -738,8 +738,11 @@
void Net_Reset()
{
+ float i;
race_laptime = 0;
race_checkpointtime = 0;
+ for(i = 0; i < 24; ++i)
+ angles_held_status[i] = 0;
}
void Net_ReadSpectating()
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2008-09-06 16:44:32 UTC (rev 4381)
+++ trunk/data/qcsrc/client/View.qc 2008-09-06 18:39:31 UTC (rev 4382)
@@ -1,4 +1,3 @@
-float angles_held_status[24];
vector angles_held[24];
void Net_ReadHoldAngles()
{
Modified: trunk/data/qcsrc/client/main.qh
===================================================================
--- trunk/data/qcsrc/client/main.qh 2008-09-06 16:44:32 UTC (rev 4381)
+++ trunk/data/qcsrc/client/main.qh 2008-09-06 18:39:31 UTC (rev 4382)
@@ -125,3 +125,4 @@
float warmup_stage;
float weaponimpulse[24];
+float angles_held_status[24];
More information about the nexuiz-commits
mailing list