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:
parent
2f5721bf61
commit
aac2de270e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue