From 6f4ad98216ed98f420ded7c5ef60629944945a22 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Fri, 8 Feb 2013 18:47:49 -0500 Subject: [PATCH] Well that was stupid. --- qcsrc/common/notifications.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index d3a93ea0e..298f6eefb 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -132,7 +132,7 @@ void Read_Notification(float is_new); .string nent_strings[4]; .float nent_floats[4]; -#define IFSTR(num) ((num <= (stringcount-1)) ? ...(num, string) : NO_STR_ARG) +#define IFSTR(num) ((num < stringcount) ? ...(num, string) : NO_STR_ARG) #define IFFL(num) ((((stringcount-1) + num) < count) ? ...(((stringcount-1) + num), float) : NO_FL_ARG) void Send_Notification(float broadcast, entity client, float net_type, float net_name, ...count); -- 2.39.2