Revert "Fix function definition for Waypoints and silence unneeded developer print"

This reverts commit 4e13b00c33.
This commit is contained in:
Tyler Young 2024-08-07 19:45:12 -04:00
parent 4e13b00c33
commit 217ed6c284
2 changed files with 14 additions and 11 deletions

View file

@ -2291,16 +2291,19 @@ 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];
//
// 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");
//Debug//
void printSortedOpenSet()
{
//
// 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");
}
}
//------//

View file

@ -533,7 +533,7 @@ void R_SetupAliasFrame (aliashdr_t *paliashdr, int frame, lerpdata_t *lerpdata)
if ((frame >= paliashdr->numframes) || (frame < 0))
{
//Con_DPrintf ("R_AliasSetupFrame: no such frame %d for '%s'\n", frame, e->model->name);
Con_DPrintf ("R_AliasSetupFrame: no such frame %d for '%s'\n", frame, e->model->name);
frame = 0;
}