[nexuiz-commits] r8729 - trunk/data/qcsrc/warpzonelib
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Feb 28 14:46:26 EST 2010
Author: div0
Date: 2010-02-28 14:46:26 -0500 (Sun, 28 Feb 2010)
New Revision: 8729
Modified:
trunk/data/qcsrc/warpzonelib/client.qc
Log:
make the cameras actually work
Modified: trunk/data/qcsrc/warpzonelib/client.qc
===================================================================
--- trunk/data/qcsrc/warpzonelib/client.qc 2010-02-28 19:46:21 UTC (rev 8728)
+++ trunk/data/qcsrc/warpzonelib/client.qc 2010-02-28 19:46:26 UTC (rev 8729)
@@ -16,6 +16,7 @@
self.maxs_x = ReadCoord();
self.maxs_y = ReadCoord();
self.maxs_z = ReadCoord();
+ self.scale = ReadByte() / 16;
self.enemy.oldorigin_x = ReadCoord();
self.enemy.oldorigin_y = ReadCoord();
self.enemy.oldorigin_z = ReadCoord();
@@ -46,7 +47,7 @@
{
// a fixed camera view
trace_endpos = self.oldorigin;
- makevectors(self.angles);
+ makevectors(self.avelocity);
return self.oldorigin;
}
@@ -63,6 +64,7 @@
self.maxs_x = ReadCoord();
self.maxs_y = ReadCoord();
self.maxs_z = ReadCoord();
+ self.scale = ReadByte() / 16;
self.oldorigin_x = ReadCoord();
self.oldorigin_y = ReadCoord();
self.oldorigin_z = ReadCoord();
More information about the nexuiz-commits
mailing list