void MotionMaster::MovementExpired(bool reset /*= true*/)
{
    if (_cleanFlag & MOTIONMMASTER_CLEANFLAG_UPDATE)
    {
        if (reset)
            _cleanFlag |= MOTIONMMASTER_CLEANFLAG_RESET;
        else
            _cleanFlag &= ~MOTIONMMASTER_CLEANFLAG_RESET;
        DelayedExpire();
    }
    else
        DirectExpire(reset);
}
Beispiel #2
0
void MotionMaster::MovementExpired(bool reset /*= true*/)
{
    if (_cleanFlag & MMCF_UPDATE)
    {
        if (reset)
            _cleanFlag |= MMCF_RESET;
        else
            _cleanFlag &= ~MMCF_RESET;
        DelayedExpire();
    }
    else
        DirectExpire(reset);
}