After an assertion failure, the user might continue. If we ASSERT(0),

return.  (We should probably be throwing, though.)
This commit is contained in:
Glenn Maynard
2002-09-07 10:11:00 +00:00
parent ebbc1c274d
commit d252e31244
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void OptionsCursor::Load( PlayerNumber pn, bool bUnderline )
{
case PLAYER_1: iBaseFrameNo = 0; break;
case PLAYER_2: iBaseFrameNo = 3; break;
default: ASSERT(0); break;
default: ASSERT(0); return;
}
m_sprLeft.SetState( iBaseFrameNo+0 );
m_sprMiddle.SetState( iBaseFrameNo+1 );