From 74fd8211bb92e08a22e4da45ac32998e2bca6d5c Mon Sep 17 00:00:00 2001 From: Josh Allen Date: Sat, 22 Jul 2006 00:54:17 +0000 Subject: [PATCH] Fix float to bool warning --- stepmania/src/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index e8572f7100..219b4eee1d 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1281,8 +1281,8 @@ void Player::OnRowCompletelyJudged( int iIndexThatWasSteppedOn ) ASSERT( lastTNR.tns != TNS_AvoidMine ); // XXX This is the wrong PlayerStageStats to use for combined note fields. Hmm. bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->iCurCombo>(int)BRIGHT_GHOST_COMBO_THRESHOLD; - bool bBlind = m_pPlayerState->m_PlayerOptions.m_fBlind; - + bool bBlind = m_pPlayerState->m_PlayerOptions.m_fBlind ? true : false; + bBright = bBright || bBlind;