add an assertion

This commit is contained in:
Glenn Maynard
2002-11-04 20:22:57 +00:00
parent ffd6817044
commit de07f02fad
+1
View File
@@ -1238,6 +1238,7 @@ void GameManager::SwitchNoteSkin( CString sNewNoteSkin )
{ {
CStringArray as; CStringArray as;
GetNoteSkinNames( as ); GetNoteSkinNames( as );
ASSERT( !as.empty() );
SwitchNoteSkin( as[0] ); SwitchNoteSkin( as[0] );
} }
else else