From 4189704b5f95c6de0f2b412ae41ceb95703764a5 Mon Sep 17 00:00:00 2001 From: Jan-Peter Nilsson Date: Sat, 2 Apr 2011 13:04:49 +0200 Subject: [PATCH] Initialize member variables in the same order they are defined to avoid compiler warning --- apps/openmw/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index b24d6e325c..78ddffbe8c 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -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(); }