diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 00ad90a026..2eebb8c28f 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -478,7 +478,7 @@ void OMW::Engine::go() } // Start the main rendering loop - while (!mEnvironment.get().getStateManager()->hasQuitRequest()) + while (!MWBase::Environment::get().getStateManager()->hasQuitRequest()) Ogre::Root::getSingleton().renderOneFrame(); // Save user settings