]> 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 4693dfb4c059644f20f7ea029befe1e4bd91671b..c2420d4435ba7bdc7ca4647edcbfb015164ba9eb 100644 (file)
@@ -1887,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
@@ -1908,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