mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 20:18:17 +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) {
|
if (pAttackerWeap->GetWeaponClass() & WEAPON_CLASS_PISTOL) {
|
||||||
s1 = "was gunned down by";
|
s1 = "was gunned down by";
|
||||||
} else if (pAttackerWeap->GetWeaponClass() & WEAPON_CLASS_RIFLE) {
|
} else if (pAttackerWeap->GetWeaponClass() & WEAPON_CLASS_RIFLE) {
|
||||||
if (pAttackerWeap->m_iZoom) {
|
if (pAttackerWeap->GetZoom()) {
|
||||||
s1 = "was sniped by";
|
s1 = "was sniped by";
|
||||||
} else {
|
} else {
|
||||||
s1 = "was rifled by";
|
s1 = "was rifled by";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue