mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:09:41 +00:00
Merge pull request #2563 from akortunov/ammofix
Fix OnStrike bows charges
This commit is contained in:
commit
85a5355e5c
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ namespace MWMechanics
|
|||
{
|
||||
int type = item.get<ESM::Weapon>()->mBase->mData.mType;
|
||||
ESM::WeaponType::Class weapclass = MWMechanics::getWeaponType(type)->mWeaponClass;
|
||||
isProjectile = (weapclass == ESM::WeaponType::Thrown || weapclass == ESM::WeaponType::Ranged);
|
||||
isProjectile = (weapclass == ESM::WeaponType::Thrown || weapclass == ESM::WeaponType::Ammo);
|
||||
}
|
||||
int type = enchantment->mData.mType;
|
||||
|
||||
|
|
Loading…
Reference in a new issue