1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:53:51 +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);