diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-04 04:05:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-04 04:05:15 +0400 |
commit | 9d4be17de42deb3109febc8433bf2acea2196218 (patch) | |
tree | 7ed222c562345ebea77f046e850c042404cb7441 /source/gameengine | |
parent | c584e01beeaa8c800f9b50bbe9d866037b42230b (diff) |
style cleanup
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GameLogic/SCA_IObject.h | 2 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_ObjectActuator.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index 0189af00322..365e2b0c853 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -221,7 +221,7 @@ public: OBJ_ARMATURE=0, OBJ_CAMERA=1, OBJ_LIGHT=2, - }ObjectTypes; + } ObjectTypes; }; diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp index 16e4cade280..9355ad0adfd 100644 --- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp +++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp @@ -238,8 +238,8 @@ bool KX_ObjectActuator::Update() { parent->GetPhysicsController()->Jump(); } - }else - { + } + else { if (!m_bitLocalFlag.ZeroForce) { parent->ApplyForce(m_force,(m_bitLocalFlag.Force) != 0); |