]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Forgot one
authorSamual Lenks <samual@xonotic.org>
Mon, 4 Mar 2013 02:19:49 +0000 (21:19 -0500)
committerSamual Lenks <samual@xonotic.org>
Mon, 4 Mar 2013 02:19:49 +0000 (21:19 -0500)
qcsrc/server/g_damage.qc

index 310423746ae97404ac2a72943ac08b738b70516f..54ab35abf8e056c1cded941ecb937ad4608eeb82 100644 (file)
@@ -435,7 +435,7 @@ void Obituary(entity attacker, entity inflictor, entity targ, float deathtype)
        // ======
        // MURDER
        // ======
-       else if(attacker.classname == "player")
+       else if(IS_PLAYER(attacker))
        {
                if(!IsDifferentTeam(attacker, targ))
                {