mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-22 00:11:36 +00:00
Avoid virtual call in Animation dtor
This commit is contained in:
parent
b4794e8ca5
commit
8083df4567
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue