1
| | for(i = 0;i<num_OfTestBotsWP;i++) {
CVector3 the_pos = q3toNorm(bot_test_waypoint[i]);
if(Distance3(the_pos,origin) < Distance3(LastEndPoint,origin)) {
if(Distance3(the_pos,origin) > 2.0f && !WaypWalked[i]) {
LastEndPoint = the_pos;
EndPoint = LastEndPoint;
WaypWalked[i] = true;
lwnum = i;
}
}
} |