From e541ff508216b00d545d2b877c568f4d3ebfb55f Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 2 Feb 2005 04:01:04 +0000 Subject: [PATCH] fix VC6 compile errors --- stepmania/src/ScreenSelectMaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenSelectMaster.cpp b/stepmania/src/ScreenSelectMaster.cpp index 37b9211a37..583a9c084f 100644 --- a/stepmania/src/ScreenSelectMaster.cpp +++ b/stepmania/src/ScreenSelectMaster.cpp @@ -221,7 +221,7 @@ ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sCl m_Next[dir][c] = c + add; /* Always wrap around DIR_AUTO. */ - if( dir == DIR_AUTO || WRAP_CURSOR ) + if( dir == DIR_AUTO || (bool)WRAP_CURSOR ) wrap( m_Next[dir][c], m_aGameCommands.size() ); else m_Next[dir][c] = clamp( m_Next[dir][c], 0, (int)m_aGameCommands.size()-1 ); @@ -616,7 +616,7 @@ void ScreenSelectMaster::MenuStart( PlayerNumber pn ) float fSecs = 0; bool bAllDone = true; - if( SHARED_PREVIEW_AND_CURSOR || GetCurrentPage() == PAGE_2 ) + if( (bool)SHARED_PREVIEW_AND_CURSOR || GetCurrentPage() == PAGE_2 ) { /* Only one player has to pick. Choose this for all the other players, too. */ FOREACH_HumanPlayer( p )