1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Various style corrections.

This commit is contained in:
Marek Kochanowicz 2014-01-04 13:09:53 +01:00
parent aa05ffcf60
commit dfd1058551

View File

@ -837,7 +837,11 @@ void CSMTools::ReferenceableCheckStage::weaponCheck(
{
inventoryItemCheck<ESM::Weapon>(Weapon, messages, id.toString(), true);
if (!(Weapon.mData.mType == ESM::Weapon::MarksmanBow or Weapon.mData.mType == ESM::Weapon::MarksmanCrossbow or Weapon.mData.mType == ESM::Weapon::MarksmanThrown or Weapon.mData.mType == ESM::Weapon::Arrow or Weapon.mData.mType == ESM::Weapon::Bolt))
if ( !(Weapon.mData.mType == ESM::Weapon::MarksmanBow ||
Weapon.mData.mType == ESM::Weapon::MarksmanCrossbow ||
Weapon.mData.mType == ESM::Weapon::MarksmanThrown ||
Weapon.mData.mType == ESM::Weapon::Arrow ||
Weapon.mData.mType == ESM::Weapon::Bolt) )
{
if (Weapon.mData.mSlash[0] > Weapon.mData.mSlash[1])
{