mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 12:39:41 +00:00
Fix a hack so arms dont show in first-person
This commit is contained in:
parent
9d29921913
commit
50d8353a8d
1 changed files with 8 additions and 3 deletions
|
@ -255,6 +255,14 @@ void NpcAnimation::updateParts(bool forceupdate)
|
|||
if(!forceupdate)
|
||||
return;
|
||||
|
||||
/* FIXME: Remove this once we figure out how to show what in first-person */
|
||||
if(mViewMode == VM_FirstPerson)
|
||||
{
|
||||
for(size_t i = 0;i < slotlistsize;i++)
|
||||
this->*slotlist[i].part = inv.getSlot(slotlist[i].slot);
|
||||
return;
|
||||
}
|
||||
|
||||
for(size_t i = 0;i < slotlistsize && mViewMode != VM_HeadOnly;i++)
|
||||
{
|
||||
MWWorld::ContainerStoreIterator iter = inv.getSlot(slotlist[i].slot);
|
||||
|
@ -296,9 +304,6 @@ void NpcAnimation::updateParts(bool forceupdate)
|
|||
}
|
||||
if(mViewMode == VM_HeadOnly)
|
||||
return;
|
||||
/* FIXME: Remove this once we figure out how to show what in first-person */
|
||||
if(mViewMode == VM_FirstPerson)
|
||||
return;
|
||||
|
||||
static const struct {
|
||||
ESM::PartReferenceType type;
|
||||
|
|
Loading…
Reference in a new issue