fix holding start in options menu plays sound repeatedly

This commit is contained in:
Glenn Maynard
2005-05-30 02:33:17 +00:00
parent ba1f9a18ee
commit e59ec42f38
+2
View File
@@ -1041,6 +1041,8 @@ void ScreenOptions::MoveRow( PlayerNumber pn, int dir, bool Repeat )
wrap( r, m_Rows.size() );
const unsigned iOldSelection = row.GetChoiceInRowWithFocus(p);
if( m_iCurrentRow[p] == r )
continue;
m_iCurrentRow[p] = r;
ASSERT( r >= 0 && r < (int)m_Rows.size() );