mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
Initialize member variables in the same order they are defined to avoid compiler warning
This commit is contained in:
parent
6aa1f3efdd
commit
4189704b5f
@ -206,7 +206,8 @@ bool OMW::Engine::frameStarted(const Ogre::FrameEvent& evt)
|
||||
}
|
||||
|
||||
OMW::Engine::Engine()
|
||||
: mShowFPS (false)
|
||||
: mPhysicEngine (0)
|
||||
, mShowFPS (false)
|
||||
, mDebug (false)
|
||||
, mVerboseScripts (false)
|
||||
, mNewGame (false)
|
||||
@ -215,7 +216,6 @@ OMW::Engine::Engine()
|
||||
, mScriptManager (0)
|
||||
, mScriptContext (0)
|
||||
, mGuiManager (0)
|
||||
, mPhysicEngine (0)
|
||||
{
|
||||
MWClass::registerClasses();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user