mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +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()
|
OMW::Engine::Engine()
|
||||||
: mShowFPS (false)
|
: mPhysicEngine (0)
|
||||||
|
, mShowFPS (false)
|
||||||
, mDebug (false)
|
, mDebug (false)
|
||||||
, mVerboseScripts (false)
|
, mVerboseScripts (false)
|
||||||
, mNewGame (false)
|
, mNewGame (false)
|
||||||
@ -215,7 +216,6 @@ OMW::Engine::Engine()
|
|||||||
, mScriptManager (0)
|
, mScriptManager (0)
|
||||||
, mScriptContext (0)
|
, mScriptContext (0)
|
||||||
, mGuiManager (0)
|
, mGuiManager (0)
|
||||||
, mPhysicEngine (0)
|
|
||||||
{
|
{
|
||||||
MWClass::registerClasses();
|
MWClass::registerClasses();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user