Add syntax warning.
This commit is contained in:
@@ -172,9 +172,18 @@ bool KSFLoader::LoadFromKSFFile( const RString &sPath, Steps &out, const Song &s
|
||||
break;
|
||||
|
||||
if( sRowString.size() != 13 )
|
||||
{
|
||||
if ((sRowString[0] == '|') &&
|
||||
(sRowString[1] == 'T' || sRowString[1] == 'B' || sRowString[1] == 'D'))
|
||||
{
|
||||
LOG->Warn("File %s had Direct Move syntax %s which is currently unsupported; said part ignored",
|
||||
sPath.c_str(), sRowString.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG->Warn("File %s had a RowString with an improper length (\"%s\"); corrupt notes ignored",
|
||||
sPath.c_str(), sRowString.c_str());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user