Fix T45886: cont.deactivate(ActionActuatorInPropertyMode) does not work
Make sure the Action Actuator actually deactivates when given a negative event while using the property play mode.
This commit is contained in:
parent
ad950be67c
commit
5d59a51aca
|
@ -307,6 +307,7 @@ bool BL_ActionActuator::Update(double curtime, bool frame)
|
|||
}
|
||||
|
||||
switch (m_playtype) {
|
||||
case ACT_ACTION_FROM_PROP:
|
||||
case ACT_ACTION_LOOP_STOP:
|
||||
obj->StopAction(m_layer); // Stop the action after getting the frame
|
||||
|
||||
|
|
Loading…
Reference in New Issue