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:
Tyler Young 2024-08-07 19:49:28 -04:00 committed by GitHub
parent e02867f3d9
commit 3d9454ec52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 14 deletions

View File

@ -2291,21 +2291,16 @@ unsigned short openset_waypoints[MAX_WAYPOINTS]; // List of waypoints currently
unsigned short openset_length; // Current length of the open set unsigned short openset_length; // Current length of the open set
zombie_ai zombie_list[MaxZombies]; 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 Con_Printf("Sorted open-set F-scores: ");
// for(int i = 0; i < openset_length; i++) {
void sv_way_print_sorted_open_set() { Con_Printf("%.0f, ",waypoints[openset_waypoints[i]].f_score);
Con_Printf("Sorted open-set F-scores: "); }
for(int i = 0; i < openset_length; i++) { Con_Printf("\n");
Con_Printf("%.0f, ",waypoints[openset_waypoints[i]].f_score);
}
Con_Printf("\n");
} }
}
//------//
// //
// Removes a waypoint from a set, if it belongs to it. // Removes a waypoint from a set, if it belongs to it.