r2149 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jan 27 09:56:30 EST 2007


Author: div0
Date: 2007-01-27 09:56:30 -0500 (Sat, 27 Jan 2007)
New Revision: 2149

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc
Log:
oops... relink freshly spawned waypoint please


Modified: branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc	2007-01-27 14:29:02 UTC (rev 2148)
+++ branches/nexuiz-2.0/data/qcsrc/server/cl_impulse.qc	2007-01-27 14:56:30 UTC (rev 2149)
@@ -148,7 +148,7 @@
 	if (cvar("g_waypointeditor"))
 	{
 		local entity e;
-		if (imp == 103) waypoint_spawn(self.origin, self.origin, 0);
+		if (imp == 103) waypoint_schedulerelink(waypoint_spawn(self.origin, self.origin, 0));
 		else if (imp == 104) {e = navigation_findnearestwaypoint(self, FALSE);if (e) waypoint_remove(e);}
 		else if (imp == 105) waypoint_schedulerelinkall();
 		else if (imp == 106) waypoint_saveall();




More information about the nexuiz-commits mailing list