From 19171aadd2aed015a9e218990996f131558f6bfb Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 7 Jun 2009 21:13:40 +0000 Subject: [PATCH] Simplify --- stepmania/src/Player.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index b1619b6d3d..8216ba829c 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -409,10 +409,7 @@ static bool NeedsHoldJudging( const TapNote &tn ) { DEFAULT_FAIL( tn.type ); case TapNote::hold_head: - if( tn.HoldResult.hns == HNS_None ) - return true; - else - return false; + return tn.HoldResult.hns == HNS_None; case TapNote::tap: case TapNote::hold_tail: case TapNote::mine: