forked from mirror/openmw-tes3mp
Make sure the weapon is in the proper group
This commit is contained in:
parent
15a2eeebb8
commit
854de1c6c1
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ void NpcAnimation::showWeapons(bool showWeapon)
|
||||||
if(mWeapon != inv.end()) // special case for weapons
|
if(mWeapon != inv.end()) // special case for weapons
|
||||||
{
|
{
|
||||||
std::string mesh = MWWorld::Class::get(*mWeapon).getModel(*mWeapon);
|
std::string mesh = MWWorld::Class::get(*mWeapon).getModel(*mWeapon);
|
||||||
addOrReplaceIndividualPart(ESM::PRT_Weapon,-1,1,mesh);
|
addOrReplaceIndividualPart(ESM::PRT_Weapon, MWWorld::InventoryStore::Slot_CarriedRight, 1, mesh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue