...em, the play speed would not properly be reset to normal.
fixed: If player wasn't playing at normal speed while selecting a new…
… item, the play speed would not properly be reset to normal
Ack the removal of m_iPlaySpeed, it borks what happens inside SetPlaySpeed.
Nak the move of it below SetPlaySpeed, SetPlaySpeed should be already be setting m_iPlaySpeed if it's different than what was passed in. Why is this needed ? Did SetPlaySpeed set it wrong ? Seems that one should just remove the m_iPlaySpeed entirely.
My reasoning was that SetPlaySpeed() will only update m_iPlaySpeed when there already is a player playing (m_player != NULL). I suspected that may cause problems. The only way to workaround that is having SetPlaySpeed() ALWAYS update m_iPlaySpeed regardless of the state of m_player, but I'm not entirely sure whether doing that is 100% safe?