From ddac42e21e2d1c8f14b230f8ec99e42574403d50 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Fri, 11 Aug 2023 23:54:43 +0200 Subject: [PATCH] Call Weapon::GetZoom() instead --- code/fgame/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/fgame/player.cpp b/code/fgame/player.cpp index 909d2dc1..72951902 100644 --- a/code/fgame/player.cpp +++ b/code/fgame/player.cpp @@ -1807,7 +1807,7 @@ void Player::Obituary(Entity *attacker, Entity *inflictor, int meansofdeath, int if (pAttackerWeap->GetWeaponClass() & WEAPON_CLASS_PISTOL) { s1 = "was gunned down by"; } else if (pAttackerWeap->GetWeaponClass() & WEAPON_CLASS_RIFLE) { - if (pAttackerWeap->m_iZoom) { + if (pAttackerWeap->GetZoom()) { s1 = "was sniped by"; } else { s1 = "was rifled by";