From 52db6f068c662f0f6e8dfedbd6fec2ae328d69b3 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 26 May 2010 19:02:49 -0500 Subject: [PATCH] revert that last change since random vanish crashes anyways --- src/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Player.cpp b/src/Player.cpp index 6c084ef98e..a8b75a7205 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -401,6 +401,7 @@ static bool NeedsTapJudging( const TapNote &tn ) { switch( tn.type ) { + DEFAULT_FAIL( tn.type ); case TapNote::tap: case TapNote::hold_head: case TapNote::mine: @@ -411,7 +412,6 @@ static bool NeedsTapJudging( const TapNote &tn ) case TapNote::autoKeysound: case TapNote::fake: return false; - DEFAULT_FAIL( tn.type ); } } @@ -419,6 +419,7 @@ static bool NeedsHoldJudging( const TapNote &tn ) { switch( tn.type ) { + DEFAULT_FAIL( tn.type ); case TapNote::hold_head: return tn.HoldResult.hns == HNS_None; case TapNote::tap: @@ -429,7 +430,6 @@ static bool NeedsHoldJudging( const TapNote &tn ) case TapNote::autoKeysound: case TapNote::fake: return false; - DEFAULT_FAIL( tn.type ); } }