From: z411 Date: Sun, 2 Oct 2022 02:24:50 +0000 (-0300) Subject: Removed debugging info X-Git-Tag: xonotic-v0.8.6~237^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d41d86bd2ecfd7e7152baef4d592d91c5fb15f6b;p=xonotic%2Fxonotic-data.pk3dir.git Removed debugging info --- diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index 767496d07..685febf0f 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -1197,13 +1197,12 @@ void Local_Notification_Queue_Run(MSG net_type, entity notif) void Local_Notification_Queue_Add(MSG net_type, entity notif, float queue_time) { - //LOG_INFOF("Comparison %d > %d", time, notif_queue_next_time); if(queue_time == -1 || time > notif_queue_next_time) { - //LOG_INFOF("Running NOW!"); + // Run immediately Local_Notification_Queue_Run(net_type, notif); notif_queue_next_time = time + queue_time; } else { - //LOG_INFOF("Queueing: %d %d", notif_queue_length, notif_queue_next_time); + // Put in queue if(notif_queue_length >= NOTIF_QUEUE_MAX) return; notif_queue_type[notif_queue_length] = net_type; @@ -1221,9 +1220,7 @@ void Local_Notification_Queue_Process() return; int j; - if(notif_queue_time[0] <= time) { - //LOG_INFOF("Process running: %d <= %d", notif_queue_time[0], time); Local_Notification_Queue_Run(notif_queue_type[0], notif_queue_entity[0]); // Shift queue to the left