BGE: A better fix for using the Action Actuator with the Actuator Sensor. This one...
authorMitchell Stokes <mogurijin@gmail.com>
Wed, 25 Jul 2012 04:29:48 +0000 (04:29 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Wed, 25 Jul 2012 04:29:48 +0000 (04:29 +0000)
source/gameengine/Converter/BL_ActionActuator.cpp

index cab6d0fc3760bc3cc3691f6c4262950922ce7146..0f33d88f82fcf53dbd8e1accfbd0f39cfd52108a 100644 (file)
@@ -339,7 +339,7 @@ bool BL_ActionActuator::Update(double curtime, bool frame)
                }
        }
 
-       return m_flag & ACT_FLAG_ATTEMPT_PLAY;
+       return m_flag & ACT_FLAG_ACTIVE;
 }
 
 #ifdef WITH_PYTHON