1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +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()
{
setLightEffect(0.f);
Animation::setLightEffect(0.f);
if (mObjectRoot)
mInsert->removeChild(mObjectRoot);