From 450ec7b6f2d78f3cb75648920f0d82c2eb220748 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 1 Feb 2003 01:47:52 +0000 Subject: [PATCH] fix ignoring commented-out lines in MSDs (this caused empty note patterns when the entire pattern was commented out) --- stepmania/src/MsdFile.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stepmania/src/MsdFile.cpp b/stepmania/src/MsdFile.cpp index 80f69320b2..c860ca1e95 100644 --- a/stepmania/src/MsdFile.cpp +++ b/stepmania/src/MsdFile.cpp @@ -72,11 +72,6 @@ void MsdFile::ReadBuf( char *buf, int len ) continue; } - if(!ReadingValue) { - // fast forward until the next '#' (optimization) - while(i < len && buf[i] != '#') i++; - } - if(ReadingValue && buf[i] == '#') { /* Unfortunately, many of these files are missing ;'s. * If we get a # when we thought we were inside a value, assume we