From: Samual Lenks Date: Fri, 22 Feb 2013 03:44:06 +0000 (-0500) Subject: Move that to the .qh file X-Git-Tag: xonotic-v0.7.0~62^2~23^2~172 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f3fb7e8c7058a11cf977804c8b25796b8ba90b69;p=xonotic%2Fxonotic-data.pk3dir.git Move that to the .qh file --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index aec2efd25..750f3bb59 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -625,8 +625,6 @@ void Send_Notification_WOVA(float broadcast, entity client, // LEGACY NOTIFICATION SYSTEMS // ============================= -#define Send_CSQC_Centerprint_Generic_Expire(e,id) Send_CSQC_Centerprint_Generic(e, id, "", 1, 0) - void Send_CSQC_Centerprint_Generic(entity e, float id, string s, float duration, float countdown_num) { if ((clienttype(e) == CLIENTTYPE_REAL) && (e.flags & FL_CLIENT)) diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index 6ca29ae36..6a0f7f82c 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -67,7 +67,7 @@ void Send_Notification(float broadcast, entity client, float net_type, float net void Send_Notification_WOVA(float broadcast, entity client, float net_type, float net_name, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4); void Send_CSQC_Centerprint_Generic(entity e, float id, string s, float duration, float countdown_num); -void Send_CSQC_Centerprint_Generic_Expire(entity e, float id); +#define Send_CSQC_Centerprint_Generic_Expire(e,id) Send_CSQC_Centerprint_Generic(e, id, "", 1, 0) #endif