From 8fb5eb78f67e88d2de9449351fe073fd17084c3b Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Fri, 14 Oct 2005 00:16:24 +0000 Subject: [PATCH] We can reach, but not exceed MAX_COLS_PER_PLAYER. (fix assert on beat-double7) --- stepmania/src/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 31d06fb6ba..2b04848cbe 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -519,7 +519,7 @@ void Player::Update( float fDeltaTime ) // update pressed flag // const int iNumCols = GAMESTATE->GetCurrentStyle()->m_iColsPerPlayer; - ASSERT_M( iNumCols < MAX_COLS_PER_PLAYER, ssprintf("%i >= %i", iNumCols, MAX_COLS_PER_PLAYER) ); + ASSERT_M( iNumCols <= MAX_COLS_PER_PLAYER, ssprintf("%i > %i", iNumCols, MAX_COLS_PER_PLAYER) ); for( int col=0; col < iNumCols; ++col ) { // TODO: Remove use of PlayerNumber.