From b74ff27025dfce1d7afe83c5f3de9bbe6a48d8d5 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 21 Apr 2015 18:30:10 +1000 Subject: [PATCH] Supposedly fix rare case of "You are now alone!" message appearing at the end of CTF matches --- qcsrc/common/notifications.qh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index c1882296a..662f17090 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -1445,8 +1445,16 @@ string notif_arg_spree_inf(float type, string input, string player, float spree) // Initialization/Create Declarations // ==================================== +// notification counts +const int NOTIF_FIRST = 1; +int NOTIF_ANNCE_COUNT; +int NOTIF_INFO_COUNT; +int NOTIF_CENTER_COUNT; +int NOTIF_MULTI_COUNT; +int NOTIF_CHOICE_COUNT; + enum { - NO_CPID + NO_CPID = NOTIF_FIRST , CPID_ASSAULT_ROLE , CPID_CONQUEST , CPID_ROUND @@ -1487,13 +1495,6 @@ enum { // always last , NOTIF_CPID_COUNT }; -// notification counts -const float NOTIF_FIRST = 1; -float NOTIF_ANNCE_COUNT; -float NOTIF_INFO_COUNT; -float NOTIF_CENTER_COUNT; -float NOTIF_MULTI_COUNT; -float NOTIF_CHOICE_COUNT; // notification limits -- INCREASE AS NECESSARY const int NOTIF_ANNCE_MAX = 200; -- 2.39.5