sync behavior of InputQueue::MatchesSequence overloads

This commit is contained in:
Glenn Maynard
2005-04-24 06:30:32 +00:00
parent 47bfebf266
commit 1f369f298a
+3
View File
@@ -61,6 +61,9 @@ bool InputQueue::MatchesSequence( GameController c, const GameButton* button_seq
if( c == GAME_CONTROLLER_INVALID )
return false;
if( fMaxSecondsBack == -1 )
fMaxSecondsBack = 0.4f + iNumButtons*0.15f;
float fOldestTimeAllowed = RageTimer::GetTimeSinceStart() - fMaxSecondsBack;
int sequence_index = iNumButtons-1; // count down