1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 13:53:53 +00:00

Remove redundant reset calls from destructor

This commit is contained in:
elsid 2022-07-23 18:26:57 +02:00
parent ea9f2761c3
commit 1168895bf3
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -64,9 +64,6 @@ ActorAnimation::~ActorAnimation()
{ {
mInsert->removeChild(iter->second); mInsert->removeChild(iter->second);
} }
mScabbard.reset();
mHolsteredShield.reset();
} }
PartHolderPtr ActorAnimation::attachMesh(const std::string& model, const std::string& bonename, bool enchantedGlow, osg::Vec4f* glowColor) PartHolderPtr ActorAnimation::attachMesh(const std::string& model, const std::string& bonename, bool enchantedGlow, osg::Vec4f* glowColor)