]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
That doesn't need to be a function
authorSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 02:51:39 +0000 (21:51 -0500)
committerSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 02:51:39 +0000 (21:51 -0500)
qcsrc/common/notifications.qc

index 02a9d81b0520d1211d770cce6fc1f2be71c62aab..e5bd591ee1e45b7e0378fd18e70455c2d0ee9812 100644 (file)
@@ -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