|
|
|
@ -305,24 +305,37 @@ namespace MWRender
|
|
|
|
|
type == ESM::Weapon::LongBladeOneHand ||
|
|
|
|
|
type == ESM::Weapon::BluntOneHand ||
|
|
|
|
|
type == ESM::Weapon::AxeOneHand ||
|
|
|
|
|
type == ESM::Weapon::MarksmanThrown ||
|
|
|
|
|
type == ESM::Weapon::MarksmanCrossbow ||
|
|
|
|
|
type == ESM::Weapon::MarksmanBow)
|
|
|
|
|
type == ESM::Weapon::MarksmanThrown)
|
|
|
|
|
{
|
|
|
|
|
groupname = "inventoryweapononehand";
|
|
|
|
|
}
|
|
|
|
|
else if(type == ESM::Weapon::MarksmanCrossbow ||
|
|
|
|
|
type == ESM::Weapon::MarksmanBow)
|
|
|
|
|
{
|
|
|
|
|
groupname = "inventoryweapononehand";
|
|
|
|
|
showCarriedLeft = false;
|
|
|
|
|
}
|
|
|
|
|
else if(type == ESM::Weapon::LongBladeTwoHand ||
|
|
|
|
|
type == ESM::Weapon::BluntTwoClose ||
|
|
|
|
|
type == ESM::Weapon::AxeTwoHand)
|
|
|
|
|
{
|
|
|
|
|
groupname = "inventoryweapontwohand";
|
|
|
|
|
showCarriedLeft = false;
|
|
|
|
|
}
|
|
|
|
|
else if(type == ESM::Weapon::BluntTwoWide ||
|
|
|
|
|
type == ESM::Weapon::SpearTwoWide)
|
|
|
|
|
{
|
|
|
|
|
groupname = "inventoryweapontwowide";
|
|
|
|
|
showCarriedLeft = false;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
groupname = "inventoryhandtohand";
|
|
|
|
|
|
|
|
|
|
showCarriedLeft = (iter->getClass().canBeEquipped(*iter, mCharacter).first != 2);
|
|
|
|
|
showCarriedLeft = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
groupname = "inventoryhandtohand";
|
|
|
|
|
else
|
|
|
|
|
groupname = "inventoryhandtohand";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mAnimation->showCarriedLeft(showCarriedLeft);
|
|
|
|
|