diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-23 17:04:33 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-23 17:04:33 +0200 |
commit | c3b41d79a2d7490f3745bfc63484433ef88a34f9 (patch) | |
tree | d24449f81dc9cb60e20e30ded3ad2cd4f7fa134d /src/weapons/Weapon.cpp | |
parent | Compatibility with VC weapon.dat + new shotguns (diff) | |
download | re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar.gz re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar.bz2 re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar.lz re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar.xz re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.tar.zst re3-c3b41d79a2d7490f3745bfc63484433ef88a34f9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index 17cee83a..ebdeb38b 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -1597,7 +1597,7 @@ CWeapon::FireShotgun(CEntity *shooter, CVector *fireSource) if ( CGame::nastyGame ) { uint8 bloodAmount = 8; - if ( m_eWeaponType == WEAPONTYPE_SHOTGUN || m_eWeaponType == WEAPONTYPE_SPAS12_SHOTGUN || m_eWeaponType == WEAPONTYPE_STUBBY_SHOTGUN) + if ( IsShotgun(m_eWeaponType) ) bloodAmount = 32; CVector dir = (point.point - victim->GetPosition()) * 0.01f; |