From: Samual Lenks Date: Mon, 4 Mar 2013 02:19:49 +0000 (-0500) Subject: Forgot one X-Git-Tag: xonotic-v0.7.0~62^2~23^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04bb8b68e3991dea7dbc592886b1a36b3073c485;p=xonotic%2Fxonotic-data.pk3dir.git Forgot one --- diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index 310423746..54ab35abf 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -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)) {