From fbbdc5657a30081e7ea0f4e5bb0e132ba373e668 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 18 Jul 2006 02:29:10 +0000 Subject: [PATCH] Fix warning (although I think the compiler should really be able to figure this one out on its own). --- stepmania/src/Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Player.h b/stepmania/src/Player.h index c04b60d70a..f3af507f0d 100644 --- a/stepmania/src/Player.h +++ b/stepmania/src/Player.h @@ -68,7 +68,7 @@ public: { if( iRow < m_iStart ) return true; if( iRow >= m_iStart+m_iLen ) Resize( iRow+1-m_iStart ); - const bool ret = m_pRows[(iRow-m_iStart+m_iOffset)%m_iLen]; + const bool ret = m_pRows[(iRow-m_iStart+m_iOffset)%m_iLen] != 0; m_pRows[(iRow-m_iStart+m_iOffset)%m_iLen] = 1; while( m_pRows[m_iOffset] ) {