]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
Make some nice macros for team comparisons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index 1227a3e9da8329e3982224836710f5d0f4c3b85c..e5e0c1dda5516b22ce098311cdc239db3369899f 100644 (file)
@@ -495,7 +495,7 @@ void PlayerDamage (entity inflictor, entity attacker, float damage, float deatht
        if(vbot || IS_REAL_CLIENT(self))
        if(abot || IS_REAL_CLIENT(attacker))
        if(attacker && self != attacker)
-       if(IsDifferentTeam(self, attacker))
+       if(DIFF_TEAM(self, attacker))
        {
                if(DEATH_ISSPECIAL(deathtype))
                        awep = attacker.weapon;