From: Samual Lenks Date: Wed, 26 Sep 2012 20:17:27 +0000 (-0400) Subject: Fix compile X-Git-Tag: xonotic-v0.7.0~62^2~23^2~410 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b9b299aacea48a08350b5ee8730bee30f2724a63;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 930b52485..4bf7b435b 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -26,7 +26,7 @@ #define VAR_TO_TEXT(var) #var #define CHECK_FIELD_AND_COUNT(field,count) if(!field) { field = (NOTIF_FIRST + count); ++count; } -#define CHECK_MAX_NOTIFICATIONS(name,count) if(count == NOTIF_MAX) { error(strcat("Maximum notifications hit: ", VAR_TO_TEXT(name), ": ", ftos(count), ".\n"); } +#define CHECK_MAX_NOTIFICATIONS(name,count) if(count == NOTIF_MAX) { error(strcat("Maximum notifications hit: ", VAR_TO_TEXT(name), ": ", ftos(count), ".\n")); } // ====================================