From 81b4a45445fb44e444439d4da21b35f96f1e6300 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 15 Apr 2005 11:50:48 +0000 Subject: [PATCH] fix bogus assert --- stepmania/src/ScreenGameplay.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 698dec21ee..b85d4cc603 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1439,11 +1439,6 @@ void ScreenGameplay::Update( float fDeltaTime ) switch( tns ) { - case TNS_NONE: - case TNS_MISS: - case TNS_BOO: - state = AS2D_MISS; - break; case TNS_GOOD: case TNS_GREAT: state = AS2D_GOOD; @@ -1453,7 +1448,8 @@ void ScreenGameplay::Update( float fDeltaTime ) state = AS2D_GREAT; break; default: - ASSERT(0); + state = AS2D_MISS; + break; } if( state == AS2D_GREAT && m_pLifeMeter[p] && m_pLifeMeter[p]->GetLife() == 1.0f ) // full life