fix for struct definition building with msvc2008 and some style cleanup.
[blender-staging.git] / source / gameengine / Ketsji / KX_ObjectActuator.cpp
index b4ee339568c6e93c5ae5e710573f5f392c9e7216..d02554e185ef0b746aacaeb4c9f7eed823efd117 100644 (file)
@@ -215,8 +215,8 @@ bool KX_ObjectActuator::Update()
                        m_previous_error = e;
                        m_error_accumulator = I;
                        parent->ApplyForce(m_force,(m_bitLocalFlag.LinearVelocity) != 0);
-               } else if(m_bitLocalFlag.CharacterMotion)
-               {
+               }
+               else if (m_bitLocalFlag.CharacterMotion) {
                        MT_Vector3 dir = m_dloc;
 
                        if (m_bitLocalFlag.AddOrSetCharLoc) {