]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't use a notification for this
authorMario <mario.mario@y7mail.com>
Sun, 22 Dec 2013 21:32:10 +0000 (08:32 +1100)
committerMario <mario.mario@y7mail.com>
Sun, 22 Dec 2013 21:32:10 +0000 (08:32 +1100)
qcsrc/common/notifications.qh
qcsrc/server/mutators/gamemode_domination.qc

index 781fa92ed3d7042c04dab0d86bfe13b2ff811e46..be4cdfec00e0b476743399f78c8ce79edbe3c0df 100644 (file)
@@ -418,7 +418,6 @@ void Send_Notification_WOCOVA(
        MSG_INFO_NOTIF(1, INFO_DEATH_SELF_VH_WAKI_ROCKET,      2, 1, "s1 s2loc spree_lost", "s1",       "notify_death",         _("^BG%s^K1 couldn't find shelter from a Racer rocket%s%s"), "") \
        MSG_INFO_NOTIF(1, INFO_DEATH_SELF_VOID,                2, 1, "s1 s2loc spree_lost", "s1",       "notify_void",          _("^BG%s^K1 was in the wrong place%s%s"), "") \
        MULTITEAM_INFO(1, INFO_DEATH_TEAMKILL_, 4,             3, 1, "s1 s2 s3loc spree_end", "s2 s1",  "notify_teamkill_%s",   _("^BG%s^K1 was betrayed by ^BG%s^K1%s%s"), "") \
-       MSG_INFO_NOTIF(1, INFO_DOMINATION_CAPTURE,             2, 0, "s1 s2", "",                       "",                     _("^BG%s^BG%s"), "") \
        MSG_INFO_NOTIF(1, INFO_DOMINATION_CAPTURE_TIME,        2, 2, "s1 s2 f1 f2", "",                 "",                     _("^BG%s^BG%s^BG (%s points every %s seconds)"), "") \
        MSG_INFO_NOTIF(1, INFO_FREEZETAG_FREEZE,               2, 0, "s1 s2", "",                       "",                     _("^BG%s^K1 was frozen by ^BG%s"), "") \
        MSG_INFO_NOTIF(1, INFO_FREEZETAG_REVIVED,              2, 0, "s1 s2", "",                       "",                     _("^BG%s^K3 was revived by ^BG%s"), "") \
index 8ea089eaacc344cecd194322e76163ee9abc7dbc..73148840a9f315fb96412be07232208a55c36ecf 100644 (file)
@@ -46,7 +46,7 @@ void dompoint_captured ()
                wait_time = self.wait;
 
        if(domination_roundbased)
-               Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_DOMINATION_CAPTURE, head.netname, self.message);
+               bprint(sprintf("^3%s^3%s\n", head.netname, self.message));
        else
                Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_DOMINATION_CAPTURE_TIME, head.netname, self.message, points, wait_time);