Gems/EMotionFX/Code/EMotionFX/Source/MotionQueue.cpp
void MotionQueue::RemoveEntry(size_t nr)
    {
        if (m_motionSystem->RemoveMotionInstance(m_entries[nr].m_motion) == false)
        {
            GetMotionInstancePool().Free(m_entries[nr].m_motion);
        }

        m_entries.erase(AZStd::next(begin(m_entries), nr));
    }
// remove a given entry from the queue
remove a given entry from the queue
remove a given entry from the queue
void MotionQueue::RemoveEntry(size_t nr)
    {
        if (m_motionSystem->RemoveMotionInstance(m_entries[nr].m_motion) == false)
        {
            GetMotionInstancePool().Free(m_entries[nr].m_motion);
        }
        m_entries.erase(AZStd::next(begin(m_entries), nr));
    }
void MotionQueue :: RemoveEntry ( size_t nr ) { if ( m_motionSystem -> RemoveMotionInstance ( m_entries [ nr ] . m_motion ) == false ) { GetMotionInstancePool ( ) . Free ( m_entries [ nr ] . m_motion ) ; } m_entries . erase ( AZStd :: next ( begin ( m_entries ) , nr ) ) ; }
remove a given entry from the queue
remove a given entry from the queue