mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:53:51 +00:00
Reset ammo when switching view to avoid warnings spam
This commit is contained in:
parent
297898182b
commit
47af221f10
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ void NpcAnimation::setViewMode(NpcAnimation::ViewMode viewMode)
|
|||
mViewMode = viewMode;
|
||||
MWBase::Environment::get().getWorld()->scaleObject(mPtr, mPtr.getCellRef().getScale()); // apply race height after view change
|
||||
|
||||
mAmmunition.reset();
|
||||
rebuild();
|
||||
setRenderBin();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue