From: Samual Lenks Date: Sat, 8 Sep 2012 23:47:38 +0000 (-0400) Subject: On second thought, don't invert the passing effect X-Git-Tag: xonotic-v0.7.0~240^2~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b0193f1425145f2d0fbd8b3246aa4b56bc78eaa;p=xonotic%2Fxonotic-data.pk3dir.git On second thought, don't invert the passing effect --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index cd36823d7..b58d60e43 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -918,7 +918,7 @@ void ctf_FlagSetup(float teamnumber, entity flag) // called when spawning a flag if(!flag.scale) { flag.scale = FLAG_SCALE; } if(!flag.skin) { flag.skin = ((teamnumber) ? autocvar_g_ctf_flag_red_skin : autocvar_g_ctf_flag_blue_skin); } if(!flag.toucheffect) { flag.toucheffect = ((teamnumber) ? "redflag_touch" : "blueflag_touch"); } - if(!flag.passeffect) { flag.passeffect = ((!teamnumber) ? "red_pass" : "blue_pass"); } // invert the team number of the flag to pass as enemy team color + if(!flag.passeffect) { flag.passeffect = ((teamnumber) ? "red_pass" : "blue_pass"); } if(!flag.capeffect) { flag.capeffect = ((teamnumber) ? "red_cap" : "blue_cap"); } // sound