Cleanup. Do not use == true or == false.

This commit is contained in:
Steve Checkoway
2004-09-06 21:28:56 +00:00
parent 1ec7e317ad
commit 27d4678adf
11 changed files with 48 additions and 43 deletions
+2 -2
View File
@@ -360,7 +360,7 @@ void ScreenSelectDifficulty::MenuStart( PlayerNumber pn )
{
if( m_fLockInputTime > 0 )
return;
if( m_bChosen[pn] == true )
if( m_bChosen[pn] )
return;
m_bChosen[pn] = true;
@@ -480,7 +480,7 @@ void ScreenSelectDifficulty::MenuStart( PlayerNumber pn )
// check to see if everyone has chosen
FOREACH_HumanPlayer( p )
{
if( m_bChosen[p] == false )
if( !m_bChosen[p] )
return;
}
this->PostScreenMessage( SM_BeginFadingOut, SLEEP_AFTER_CHOICE_SECONDS ); // tell our owner it's time to move on