From: Samual Lenks <samual@xonotic.org>
Date: Fri, 22 Feb 2013 02:51:39 +0000 (-0500)
Subject: That doesn't need to be a function
X-Git-Tag: xonotic-v0.7.0~62^2~23^2~177
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e20c83334be3cb738a9fd10238629326b0a6fb5f;p=xonotic%2Fxonotic-data.pk3dir.git

That doesn't need to be a function
---

diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc
index 02a9d81b05..e5bd591ee1 100644
--- a/qcsrc/common/notifications.qc
+++ b/qcsrc/common/notifications.qc
@@ -623,6 +623,8 @@ 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))
@@ -641,8 +643,4 @@ void Send_CSQC_Centerprint_Generic(entity e, float id, string s, float duration,
 		});
 	}
 }
-void Send_CSQC_Centerprint_Generic_Expire(entity e, float id)
-{
-	Send_CSQC_Centerprint_Generic(e, id, "", 1, 0);
-}
 #endif // ifdef SVQC