diff --git a/ctf/src/client.qc b/ctf/src/client.qc index 34e2ab4..e2b45c6 100644 --- a/ctf/src/client.qc +++ b/ctf/src/client.qc @@ -1725,10 +1725,10 @@ void(entity targ, entity attacker) ClientObituary = bprint("'s flag carrier\n"); } } - if (((attacker.team == TEAM_COLOR1) && - (head.classname == "item_flag_team1")) || - ((attacker.team == TEAM_COLOR2) && - (head.classname == "item_flag_team2")) + if ((((attacker.team == TEAM_COLOR1) + && (head.classname == "item_flag_team1")) + || ((attacker.team == TEAM_COLOR2) + && (head.classname == "item_flag_team2"))) && (!flag_radius)) { // prevents redundant points awarded // target was near attacker's flag attacker.frags = attacker.frags + diff --git a/ctf/src/triggers.qc b/ctf/src/triggers.qc index 011f965..4bd0ac9 100644 --- a/ctf/src/triggers.qc +++ b/ctf/src/triggers.qc @@ -630,7 +630,7 @@ void() trigger_push = void() trigger_monsterjump_touch = { - if ( other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER ) + if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER ) return; // set XY even if not on ground, so the jump will clear lips