mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Don't show weapons in first-person
This commit is contained in:
parent
4b9a888d74
commit
ee585046ac
@ -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…
x
Reference in New Issue
Block a user