From aac2de270e55781318dae36f1c4f360ca9b53cbe Mon Sep 17 00:00:00 2001 From: Jordan Ayers Date: Sun, 5 Oct 2014 18:06:50 -0500 Subject: [PATCH] Cleanup: Don't call .get(). mEnvironment.get() is redundant. Switch the call to resemble the surrounding environment get() calls, instead. --- apps/openmw/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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