diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_StateActuator.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_StateActuator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_StateActuator.cpp b/source/gameengine/Ketsji/KX_StateActuator.cpp index d918f87c4bf..870540669c9 100644 --- a/source/gameengine/Ketsji/KX_StateActuator.cpp +++ b/source/gameengine/Ketsji/KX_StateActuator.cpp @@ -38,7 +38,7 @@ KX_StateActuator::KX_StateActuator( SCA_IObject* gameobj, int operation, unsigned int mask - ) + ) : SCA_IActuator(gameobj, KX_ACT_STATE), m_operation(operation), m_mask(mask) @@ -79,9 +79,9 @@ KX_StateActuator::Update() if (bNegativeEvent) return false; KX_GameObject *obj = (KX_GameObject*) GetParent(); - + objMask = obj->GetState(); - switch (m_operation) + switch (m_operation) { case OP_CPY: objMask = m_mask; |