From: Samual Lenks Date: Tue, 26 Feb 2013 23:29:31 +0000 (-0500) Subject: Now use it in arena :D X-Git-Tag: xonotic-v0.7.0~62^2~23^2~99 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbe3dd67d0bf140b70b3707b00cbc9b2ecef9610;p=xonotic%2Fxonotic-data.pk3dir.git Now use it in arena :D --- diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index 6502e6253..83f3bc1fd 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -56,6 +56,7 @@ void Read_Notification(float is_new); #define IFSTR(num) ((num < notif.nent_stringcount) ? ...(num, string) : "") #define IFFL(num) ((((notif.nent_stringcount-1) + num) < count) ? ...(((notif.nent_stringcount-1) + num), float) : 0) +void Kill_Notification(float broadcast, entity client, float net_type, float net_name); void Send_Notification(float broadcast, entity client, float net_type, float net_name, ...count); 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); diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index 8d9d8a0f8..fc5756e4d 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -199,10 +199,7 @@ void Arena_Warmup() { if(warmup && time < warmup) { - FOR_EACH_REALCLIENT(e) - Send_CSQC_Centerprint_Generic_Expire(e, CPID_ARENA); - - //Kill_Notification(MSG_CENTER, CPID_ARENA); + Kill_Notification(NOTIF_ANY, world, MSG_CENTER, CENTER_ARENA_BEGIN); warmup = 0; } if(champion && g_arena)