]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
On second thought, don't invert the passing effect
authorSamual Lenks <samual@xonotic.org>
Sat, 8 Sep 2012 23:47:38 +0000 (19:47 -0400)
committerSamual Lenks <samual@xonotic.org>
Sat, 8 Sep 2012 23:47:38 +0000 (19:47 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index cd36823d769b80f1ec794e08492f7a8f7e7a6e54..b58d60e43400ef48d4fd49ab700d24b9901d5494 100644 (file)
@@ -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