mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Fix typo from ai revamp merge (#50)
* Fix function definition for Waypoints and silence unneeded developer print
* Revert "Fix function definition for Waypoints and silence unneeded developer print"
This reverts commit 4e13b00c33
.
* Fix typo from ai revamp merge
* typo#2
This commit is contained in:
parent
e02867f3d9
commit
3d9454ec52
1 changed files with 9 additions and 14 deletions
|
@ -2291,21 +2291,16 @@ unsigned short openset_waypoints[MAX_WAYPOINTS]; // List of waypoints currently
|
|||
unsigned short openset_length; // Current length of the open set
|
||||
zombie_ai zombie_list[MaxZombies];
|
||||
|
||||
//Debug//
|
||||
void printSortedOpenSet()
|
||||
{
|
||||
//
|
||||
// Debugs prints the current sorted list of waypoints in the open set
|
||||
//
|
||||
void sv_way_print_sorted_open_set() {
|
||||
//
|
||||
// Debugs prints the current sorted list of waypoints in the open set
|
||||
//
|
||||
void sv_way_print_sorted_open_set() {
|
||||
Con_Printf("Sorted open-set F-scores: ");
|
||||
for(int i = 0; i < openset_length; i++) {
|
||||
Con_Printf("%.0f, ",waypoints[openset_waypoints[i]].f_score);
|
||||
}
|
||||
Con_Printf("\n");
|
||||
}
|
||||
}
|
||||
//------//
|
||||
|
||||
//
|
||||
// Removes a waypoint from a set, if it belongs to it.
|
||||
|
|
Loading…
Reference in a new issue