From 854de1c6c14ebd55b1cf05884ef4b4207cf6d094 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Apr 2013 11:43:37 -0700 Subject: [PATCH] Make sure the weapon is in the proper group --- apps/openmw/mwrender/npcanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index c616a1ff5..a92092020 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -481,7 +481,7 @@ void NpcAnimation::showWeapons(bool showWeapon) if(mWeapon != inv.end()) // special case for weapons { 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