From 387439390d2651c6eaea9deb3ad38a250b579e7b Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Fri, 29 Jul 2011 21:58:31 +0000 Subject: BGE Animations: Fixing some warnings from GCC about initialization order. --- source/gameengine/Ketsji/BL_Action.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/gameengine/Ketsji/BL_Action.cpp') diff --git a/source/gameengine/Ketsji/BL_Action.cpp b/source/gameengine/Ketsji/BL_Action.cpp index 6fe989296fd..caffd3cd8ca 100644 --- a/source/gameengine/Ketsji/BL_Action.cpp +++ b/source/gameengine/Ketsji/BL_Action.cpp @@ -49,24 +49,24 @@ extern "C" { BL_Action::BL_Action(class KX_GameObject* gameobj) : + m_action(NULL), + m_pose(NULL), + m_blendpose(NULL), + m_blendinpose(NULL), + m_ptrrna(NULL), + m_sg_contr(NULL), m_obj(gameobj), m_startframe(0.f), m_endframe(0.f), - m_blendin(0.f), - m_playmode(0), m_endtime(0.f), m_localtime(0.f), + m_blendin(0.f), m_blendframe(0.f), m_blendstart(0.f), m_speed(0.f), m_priority(0), + m_playmode(0), m_ipo_flags(0), - m_pose(NULL), - m_blendpose(NULL), - m_blendinpose(NULL), - m_sg_contr(NULL), - m_ptrrna(NULL), - m_action(NULL), m_done(true) { if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE) -- cgit v1.2.3