r2679 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed May 23 15:21:48 EDT 2007
Author: div0
Date: 2007-05-23 15:21:48 -0400 (Wed, 23 May 2007)
New Revision: 2679
Modified:
trunk/data/qcsrc/server/g_hook.qc
Log:
put hook line 9 qu away from origin to attach to the right point on tZork's hook
Modified: trunk/data/qcsrc/server/g_hook.qc
===================================================================
--- trunk/data/qcsrc/server/g_hook.qc 2007-05-23 18:52:55 UTC (rev 2678)
+++ trunk/data/qcsrc/server/g_hook.qc 2007-05-23 19:21:48 UTC (rev 2679)
@@ -150,9 +150,8 @@
org = org + dir*50; // get the beam out of the player's eyes
}
- makevectors(self.angles);
-
- te_beam(self, self.origin - v_forward * 4, org);
+ makevectors(self.angles_x * '-1 0 0' + self.angles_y * '0 1 0');
+ te_beam(self, self.origin + v_forward * (-9), org);
}
void GrapplingHookTouch (void)
More information about the nexuiz-commits
mailing list