diff options
-rw-r--r-- | source/gameengine/Ketsji/KX_ObjectActuator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp index 2999550fb8f..e5f7ea22b36 100644 --- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp +++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp @@ -117,7 +117,7 @@ bool KX_ObjectActuator::Update() } // Explicitly stop the movement if we're using a character (apply movement is a little different for characters) - if (parent->GetPhysicsController()->IsCharacter()) { + if (parent->GetPhysicsController() && parent->GetPhysicsController()->IsCharacter()) { MT_Vector3 vec(0.0, 0.0, 0.0); parent->ApplyMovement(vec, true); } |