mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 09:09:43 +00:00
Fix OnStrike bows charges (regression #5191)
This commit is contained in:
parent
e8037473ca
commit
dd781b3da2
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