[nexuiz-commits] r6635 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri May 1 18:06:24 EDT 2009
Author: mand1nga
Date: 2009-05-01 18:06:23 -0400 (Fri, 01 May 2009)
New Revision: 6635
Modified:
trunk/data/qcsrc/server/cl_impulse.qc
Log:
Tell the location of new/removed waypoints (towards waypoint hardwiring)
Modified: trunk/data/qcsrc/server/cl_impulse.qc
===================================================================
--- trunk/data/qcsrc/server/cl_impulse.qc 2009-05-01 21:27:23 UTC (rev 6634)
+++ trunk/data/qcsrc/server/cl_impulse.qc 2009-05-01 22:06:23 UTC (rev 6635)
@@ -314,7 +314,7 @@
if(sv_cheats || (self.lip < sv_clones))
{
switch(imp)
- {
+ {
case 140:
makevectors (self.v_angle);
self.velocity = self.velocity + v_forward * 300;
@@ -460,11 +460,15 @@
{
case 103:
waypoint_schedulerelink(waypoint_spawn(self.origin, self.origin, 0));
+ bprint(strcat("Waypoint spawned at ",vtos(self.origin),"\n"));
break;
case 104:
e = navigation_findnearestwaypoint(self, FALSE);
if (e)
+ {
+ bprint(strcat("Waypoint removed at ",vtos(e.origin),"\n"));
waypoint_remove(e);
+ }
break;
case 105:
waypoint_schedulerelinkall();
More information about the nexuiz-commits
mailing list