BGE: The Action Actuator now returns correct values to work with the Actuator Sensor.
[blender.git] / source / gameengine / Converter / BL_ActionActuator.cpp
index b580fc31585817c62a57f243e8cb4ebee5b306ee..cab6d0fc3760bc3cc3691f6c4262950922ce7146 100644 (file)
@@ -339,7 +339,7 @@ bool BL_ActionActuator::Update(double curtime, bool frame)
                }
        }
 
-       return true;
+       return m_flag & ACT_FLAG_ATTEMPT_PLAY;
 }
 
 #ifdef WITH_PYTHON