1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 10:21:11 +00:00

Avoid virtual call in Animation dtor

This commit is contained in:
elsid 2019-11-17 18:46:58 +01:00
parent b4794e8ca5
commit 8083df4567
No known key found for this signature in database
GPG Key ID: D27B8E8D10A2896B

View File

@ -633,7 +633,7 @@ namespace MWRender
Animation::~Animation() Animation::~Animation()
{ {
setLightEffect(0.f); Animation::setLightEffect(0.f);
if (mObjectRoot) if (mObjectRoot)
mInsert->removeChild(mObjectRoot); mInsert->removeChild(mObjectRoot);