mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 01:09:41 +00:00
Another invalid iterator fix
This commit is contained in:
parent
1a98f8ca93
commit
f8f4d2dfdb
1 changed files with 2 additions and 1 deletions
|
@ -777,7 +777,8 @@ void getMinMaxAttackDuration(const MWWorld::Ptr& actor, float (*fMinMaxDurations
|
|||
|
||||
float weapSpeed;
|
||||
if (weaptype != MWMechanics::WeapType_HandToHand
|
||||
&& weaptype != MWMechanics::WeapType_Spell)
|
||||
&& weaptype != MWMechanics::WeapType_Spell
|
||||
&& weaptype != MWMechanics::WeapType_None)
|
||||
{
|
||||
weapon = weaponSlot->get<ESM::Weapon>()->mBase;
|
||||
weapSpeed = weapon->mData.mSpeed;
|
||||
|
|
Loading…
Reference in a new issue