1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-01 07:41:31 +00:00

Bug #1147: Fix the inventory preview pose used for ranged weapons

This commit is contained in:
scrawl 2014-01-31 03:28:18 +01:00
parent 5b300c1052
commit 4ec86d1c68

View file

@ -160,11 +160,14 @@ namespace MWRender
if(type == ESM::Weapon::ShortBladeOneHand || if(type == ESM::Weapon::ShortBladeOneHand ||
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)
groupname = "inventoryweapononehand"; groupname = "inventoryweapononehand";
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 ||
type == ESM::Weapon::MarksmanCrossbow ||
type == ESM::Weapon::MarksmanBow)
groupname = "inventoryweapontwohand"; groupname = "inventoryweapontwohand";
else if(type == ESM::Weapon::BluntTwoWide || else if(type == ESM::Weapon::BluntTwoWide ||
type == ESM::Weapon::SpearTwoWide) type == ESM::Weapon::SpearTwoWide)