]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/notifications.qc
Fix some other things
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / notifications.qc
index 92cecf25c48d68c9ce96550561225ad4541425ba..c2420d4435ba7bdc7ca4647edcbfb015164ba9eb 100644 (file)
@@ -913,8 +913,6 @@ void Notification_GetCvars(void)
                        sprintf("notification_%s", msg_choice_notifs[i].nent_name)
                );
        }
-
-       GetCvars_handleFloat(get_cvars_s, get_cvars_f, FRAG_VERBOSE, "notification_frag_verbose");
 }
 #endif
 
@@ -1889,8 +1887,13 @@ void Send_Notification(
                                "Check the definition and function call for accuracy...?\n"
                        ),
                        sprintf(
+                               #ifdef NOTIFICATIONS_DEBUG
                                "%s, '%s', %s, %s",
                                Get_Notif_BroadcastName(broadcast),
+                               #else
+                               "%d, '%s', %s, %s",
+                               broadcast,
+                               #endif
                                client.classname,
                                Get_Notif_TypeName(net_type),
                                notif.nent_name
@@ -1910,8 +1913,13 @@ void Send_Notification(
                                "Check the definition and function call for accuracy...?\n"
                        ),
                        sprintf(
+                               #ifdef NOTIFICATIONS_DEBUG
                                "%s, '%s', %s, %s",
                                Get_Notif_BroadcastName(broadcast),
+                               #else
+                               "%d, '%s', %s, %s",
+                               broadcast,
+                               #endif
                                client.classname,
                                Get_Notif_TypeName(net_type),
                                notif.nent_name