1
0
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:
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() 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();
} }