fix song options screen crash in course mode

This commit is contained in:
Glenn Maynard
2003-07-28 23:13:00 +00:00
parent 77233f15de
commit 1152ef82e1
+4
View File
@@ -574,6 +574,10 @@ void setmax( T &a, const T &b )
* in ScreenSongOptions). */
void GameState::AdjustFailType()
{
/* Single song mode only. */
if( this->IsCourseMode() )
return;
/* If the player changed the fail mode explicitly, leave it alone. */
if( GAMESTATE->m_bChangedFailType )
return;