1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:23:54 +00:00

Cleanup: Don't call <environment obj>.get().

mEnvironment.get() is redundant.  Switch the call to resemble the
surrounding environment get() calls, instead.
This commit is contained in:
Jordan Ayers 2014-10-05 18:06:50 -05:00
parent 2f5721bf61
commit aac2de270e

View file

@ -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