]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed bug regarding team colors in murder obituary
authorz411 <z411@omaera.org>
Wed, 21 Oct 2020 22:37:08 +0000 (19:37 -0300)
committerz411 <z411@omaera.org>
Wed, 21 Oct 2020 22:37:08 +0000 (19:37 -0300)
qcsrc/server/damage.qc

index 9ed80e0e1c2206863f0f36575aa13de076556cdf..85cdd55ae9c7857d723dc17307f08e57f2b6c191 100644 (file)
@@ -439,7 +439,7 @@ void Obituary(entity attacker, entity inflictor, entity targ, int deathtype, .en
                        if(deathtype == DEATH_BUFF.m_id)
                                f3 = buff_FirstFromFlags(STAT(BUFFS, attacker)).m_id;
 
-                       if (!Obituary_WeaponDeath(targ, attacker, true, deathtype, playername(targ.netname, targ.team, true), playername(attacker.netname, targ.team, true), deathlocation, CS(targ).killcount, kill_count_to_attacker))
+                       if (!Obituary_WeaponDeath(targ, attacker, true, deathtype, playername(targ.netname, targ.team, true), playername(attacker.netname, attacker.team, true), deathlocation, CS(targ).killcount, kill_count_to_attacker))
                                Obituary_SpecialDeath(targ, true, deathtype, playername(targ.netname, targ.team, true), playername(attacker.netname, attacker.team, true), deathlocation, CS(targ).killcount, kill_count_to_attacker, f3);
                }
        }