]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Temporarily disable centerprint that your team mate got the flag (merlijn)
authorSamual Lenks <samual@xonotic.org>
Fri, 21 Sep 2012 18:18:13 +0000 (14:18 -0400)
committerSamual Lenks <samual@xonotic.org>
Fri, 21 Sep 2012 18:18:13 +0000 (14:18 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index 5edf74d16cc7fc53c9823475359c2f5e8b846851..18485d71638c5ee04e8d5d675b2ca651d27b8b16 100644 (file)
@@ -503,8 +503,8 @@ void ctf_Handle_Pickup(entity flag, entity player, float pickuptype)
        {
                if(tmp_player == player)
                        centerprint(tmp_player, strcat("You got the ", flag.netname, "!"));
-               else if(!IsDifferentTeam(tmp_player, player))
-                       centerprint(tmp_player, strcat("Your ", Team_ColorCode(player.team), "team mate ", verbosename, "^7got the flag! Protect them!"));
+               //else if(!IsDifferentTeam(tmp_player, player))
+               //      centerprint(tmp_player, strcat("Your ", Team_ColorCode(player.team), "team mate ", verbosename, "^7got the flag! Protect them!"));
                else if(!IsDifferentTeam(tmp_player, flag))
                        centerprint(tmp_player, strcat("The ", Team_ColorCode(player.team), "enemy ", verbosename, "^7got your flag! Retrieve it!"));
        }