After an assertion failure, the user might continue. If we ASSERT(0),
return. (We should probably be throwing, though.)
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user