[nexuiz-commits] r6695 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat May 9 23:22:42 EDT 2009
Author: mand1nga
Date: 2009-05-09 23:22:41 -0400 (Sat, 09 May 2009)
New Revision: 6695
Modified:
trunk/data/qcsrc/server/cl_impulse.qc
Log:
Disallowed the removal of auto-generated waypoints
Modified: trunk/data/qcsrc/server/cl_impulse.qc
===================================================================
--- trunk/data/qcsrc/server/cl_impulse.qc 2009-05-09 15:34:28 UTC (rev 6694)
+++ trunk/data/qcsrc/server/cl_impulse.qc 2009-05-10 03:22:41 UTC (rev 6695)
@@ -465,6 +465,7 @@
case 104:
e = navigation_findnearestwaypoint(self, FALSE);
if (e)
+ if not(e.wpflags & WAYPOINTFLAG_GENERATED)
{
bprint(strcat("Waypoint removed at ",vtos(e.origin),"\n"));
waypoint_remove(e);
More information about the nexuiz-commits
mailing list