mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 22:14:42 +00:00
Fix code that I forgot to uncomment (thanks coverity)
This commit is contained in:
parent
3d3b37324d
commit
ebdd5dc993
@ -459,7 +459,7 @@ void NpcAnimation::updateParts()
|
||||
};
|
||||
static const size_t slotlistsize = sizeof(slotlist)/sizeof(slotlist[0]);
|
||||
|
||||
bool wasArrowAttached = 0;//(mAmmunition.get() != NULL);
|
||||
bool wasArrowAttached = (mAmmunition.get() != NULL);
|
||||
|
||||
MWWorld::InventoryStore& inv = mPtr.getClass().getInventoryStore(mPtr);
|
||||
for(size_t i = 0;i < slotlistsize && mViewMode != VM_HeadOnly;i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user