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