From 2c1324b70b51c0ef6c8b13a51a808be65b7bf507 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 21 Feb 2006 01:59:36 +0000 Subject: [PATCH] This doesn't even make sense. Having a random entry has nothing to do with it being random. Also, IsRandomSong() always returns false with the current reading logic so the if statement's condition was logically entry.bSecret. --- stepmania/src/CourseWriterCRS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/CourseWriterCRS.cpp b/stepmania/src/CourseWriterCRS.cpp index cb5ba6b688..b07b354953 100644 --- a/stepmania/src/CourseWriterCRS.cpp +++ b/stepmania/src/CourseWriterCRS.cpp @@ -128,8 +128,8 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin f.Write( ":" ); RString sModifiers = entry.sModifiers; - bool bDefaultSecret = entry.IsRandomSong(); - if( bDefaultSecret != entry.bSecret ) + + if( entry.bSecret ) { if( sModifiers != "" ) sModifiers += ",";