From: Samual Lenks Date: Fri, 21 Sep 2012 18:18:13 +0000 (-0400) Subject: Temporarily disable centerprint that your team mate got the flag (merlijn) X-Git-Tag: xonotic-v0.7.0~218^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=434d788c7d53b9a857bc29c7c36d58770892ac53;p=xonotic%2Fxonotic-data.pk3dir.git Temporarily disable centerprint that your team mate got the flag (merlijn) --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 5edf74d16..18485d716 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -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!")); }