add an assertion
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user