mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 12:08:12 +03:00
Call Weapon::GetZoom() instead
This commit is contained in:
parent
34535ad415
commit
ddac42e21e
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue