[nexuiz-commits] r7915 - trunk/data/qcsrc/server/bot

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Sep 25 19:56:30 EDT 2009


Author: mand1nga
Date: 2009-09-25 19:56:30 -0400 (Fri, 25 Sep 2009)
New Revision: 7915

Modified:
   trunk/data/qcsrc/server/bot/navigation.qc
   trunk/data/qcsrc/server/bot/waypoints.qh
Log:
s/print/dprint/g + update headers

Modified: trunk/data/qcsrc/server/bot/navigation.qc
===================================================================
--- trunk/data/qcsrc/server/bot/navigation.qc	2009-09-25 22:39:08 UTC (rev 7914)
+++ trunk/data/qcsrc/server/bot/navigation.qc	2009-09-25 23:56:30 UTC (rev 7915)
@@ -805,7 +805,7 @@
 			if(nwp)
 				e.nearestwaypoint = nwp;
 			else
-				print("FAILED to find a nearest waypoint to ", etos(e), "\n");
+				dprint("FAILED to find a nearest waypoint to '", e.classname, "' #", etos(e), "\n");
 
 			// TODO: Cleaner solution, probably handling this timeout from ctf.qc
 			if(e.classname=="item_flag_team")

Modified: trunk/data/qcsrc/server/bot/waypoints.qh
===================================================================
--- trunk/data/qcsrc/server/bot/waypoints.qh	2009-09-25 22:39:08 UTC (rev 7914)
+++ trunk/data/qcsrc/server/bot/waypoints.qh	2009-09-25 23:56:30 UTC (rev 7915)
@@ -55,3 +55,5 @@
 
 entity waypoint_spawn(vector m1, vector m2, float f);
 entity waypoint_spawnpersonal(vector position);
+
+vector waypoint_fixorigin(vector position);



More information about the nexuiz-commits mailing list