Better error message on failure.

This commit is contained in:
Jason Felds
2011-06-20 19:02:44 -04:00
parent 0498ad5f70
commit 7d79762076
+1 -1
View File
@@ -973,7 +973,7 @@ static bool LoadFromBMSFile( const RString &sPath, const NameToData_t &mapNameTo
iTransformNewToOld[15] = BMS_P2_TURN;
break;
default:
ASSERT(0);
ASSERT_M(0, ssprintf("Invalid StepsType when parsing BMS file %s!", sPath.c_str()));
}
// shift all of the autokeysound tracks onto the main tracks