From 9798712912122594f0ee9444a9b0f51c565cb671 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 17 Jul 2006 22:36:15 +0000 Subject: [PATCH] Tidying. --- stepmania/src/NotesLoaderKSF.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/NotesLoaderKSF.cpp b/stepmania/src/NotesLoaderKSF.cpp index 1b41189cb4..00f0d24c17 100644 --- a/stepmania/src/NotesLoaderKSF.cpp +++ b/stepmania/src/NotesLoaderKSF.cpp @@ -173,8 +173,7 @@ bool KSFLoader::LoadFromKSFFile( const RString &sPath, Steps &out, const Song &s if( sRowString.size() != 13 ) { - if ((sRowString[0] == '|') && - (sRowString[1] == 'T' || sRowString[1] == 'B' || sRowString[1] == 'D')) + if( BeginsWith(sRowString, "|T") || BeginsWith(sRowString, "|B") || BeginsWith(sRowString, "|D") ) { LOG->Warn("File %s had Direct Move syntax %s which is currently unsupported; said part ignored", sPath.c_str(), sRowString.c_str());