From: Mario Date: Tue, 21 Apr 2015 08:30:10 +0000 (+1000) Subject: Supposedly fix rare case of "You are now alone!" message appearing at the end of... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b74ff27025dfce1d7afe83c5f3de9bbe6a48d8d5;p=xonotic%2Fxonotic-data.pk3dir.git Supposedly fix rare case of "You are now alone!" message appearing at the end of CTF matches --- 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;