r3268 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jan 25 03:43:24 EST 2008
Author: lordhavoc
Date: 2008-01-25 03:43:24 -0500 (Fri, 25 Jan 2008)
New Revision: 3268
Modified:
trunk/data/qcsrc/server/bots.qc
Log:
commented out some dprints
Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc 2008-01-25 08:35:40 UTC (rev 3267)
+++ trunk/data/qcsrc/server/bots.qc 2008-01-25 08:43:24 UTC (rev 3268)
@@ -1216,21 +1216,21 @@
e.nearestwaypoint = navigation_findnearestwaypoint(e, TRUE);
e.nearestwaypointtimeout = time + random() * 3 + 5;
}
- dprint(e.classname, " ", ftos(f));
+ //dprint(e.classname, " ", ftos(f));
if (e.nearestwaypoint)
if (e.nearestwaypoint.wpcost < 10000000)
{
//te_wizspike(e.nearestwaypoint.wpnearestpoint);
- dprint(e.classname, " ", ftos(f), "*(500/(500+", ftos((e.nearestwaypoint.wpcost + vlen(e.origin - e.nearestwaypoint.wpnearestpoint))), " = ");
+ //dprint(e.classname, " ", ftos(f), "*(500/(500+", ftos((e.nearestwaypoint.wpcost + vlen(e.origin - e.nearestwaypoint.wpnearestpoint))), " = ");
f = f * 500 / ((e.nearestwaypoint.wpcost + vlen(e.origin - e.nearestwaypoint.wpnearestpoint)) + 500);
- dprint(ftos(f));
+ //dprint(ftos(f));
if (navigation_bestrating < f)
{
navigation_bestrating = f;
navigation_bestgoal = e;
}
}
- dprint("\n");
+ //dprint("\n");
};
// replaces the goal stack with the path to a given item
More information about the nexuiz-commits
mailing list