forked from teamnwah/openmw-tes3coop
Don't show weapons in first-person
This commit is contained in:
parent
4b9a888d74
commit
ee585046ac
1 changed files with 2 additions and 1 deletions
|
@ -474,7 +474,8 @@ void NpcAnimation::addPartGroup(int group, int priority, const std::vector<ESM::
|
|||
void NpcAnimation::showWeapons(bool showWeapon)
|
||||
{
|
||||
mShowWeapons = showWeapon;
|
||||
if(showWeapon)
|
||||
if(showWeapon &&
|
||||
mViewMode != VM_FirstPerson/* FIXME: Remove this once first-person bodies work */)
|
||||
{
|
||||
MWWorld::InventoryStore &inv = MWWorld::Class::get(mPtr).getInventoryStore(mPtr);
|
||||
mWeapon = inv.getSlot(MWWorld::InventoryStore::Slot_CarriedRight);
|
||||
|
|
Loading…
Reference in a new issue