]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix enemy pickup notification
authorMario <mario.mario@y7mail.com>
Tue, 13 Aug 2013 06:06:09 +0000 (16:06 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 13 Aug 2013 06:06:09 +0000 (16:06 +1000)
qcsrc/server/mutators/gamemode_ctf.qc

index 9c4fff58a2a6fdad65d0b01380d9ee5c8d4c23e4..973cd273f41e06723c59f823598ed0ebccd3bc99 100644 (file)
@@ -536,7 +536,7 @@ void ctf_Handle_Pickup(entity flag, entity player, float pickuptype)
                        else
                                Send_Notification(NOTIF_ONE, tmp_player, MSG_CENTER, APP_TEAM_ENT_4(flag, CENTER_CTF_PICKUP_TEAM_), Team_ColorCode(player.team));
                }
-               else if(ctf_IsDifferentTeam(tmp_player, player) && !ctf_IsDifferentTeam(flag, tmp_player))
+               else if(IsDifferentTeam(tmp_player, player) && !ctf_IsDifferentTeam(flag, tmp_player))
                {
                        if(tmp_player.PICKUP_ENEMY_VERBOSE)
                                Send_Notification(NOTIF_ONE, tmp_player, MSG_CENTER, CENTER_CTF_PICKUP_ENEMY_VERBOSE, Team_ColorCode(player.team), player.netname);