From 39c145525eaa389086e85e14e481a3b2a198de03 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 25 May 2007 00:45:47 +0000 Subject: [PATCH] iMinSearchIndexUsed fix --- stepmania/src/InputQueue.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/InputQueue.cpp b/stepmania/src/InputQueue.cpp index e12f422cee..8e3d845479 100644 --- a/stepmania/src/InputQueue.cpp +++ b/stepmania/src/InputQueue.cpp @@ -132,11 +132,9 @@ bool InputQueueCode::EnteredCode( GameController controller ) const } if( !bAllHeldButtonsOK ) continue; + iMinSearchIndexUsed = min( iMinSearchIndexUsed, iQueueSearchIndex ); if( b == (int) Press.m_aButtonsToPress.size()-1 ) - { bMatched = true; - iMinSearchIndexUsed = min( iMinSearchIndexUsed, iQueueSearchIndex ); - } } if( !bMatched )