1
0
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:
Jan-Peter Nilsson 2011-04-02 13:04:49 +02:00 committed by Pieter van der Kloet
parent 6aa1f3efdd
commit 4189704b5f

View File

@ -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();
}