1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 14:19:41 +00:00

Fix crash on exit if the window wasn't created (Fixes #2249)

This commit is contained in:
scrawl 2015-01-04 19:23:31 +01:00
parent bc686c93b5
commit de12c96a46

View file

@ -208,6 +208,7 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager)
OMW::Engine::~Engine()
{
if (mOgre)
mOgre->restoreWindowGammaRamp();
mEnvironment.cleanup();
delete mScriptContext;