From bc8ad002acef09c3c936634fd06b57bea7495d10 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 16 Mar 2007 08:40:24 +0000 Subject: [PATCH] fix sort asertion failure --- stepmania/src/StepsUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepsUtil.h b/stepmania/src/StepsUtil.h index c73ed7327e..a020120eac 100644 --- a/stepmania/src/StepsUtil.h +++ b/stepmania/src/StepsUtil.h @@ -46,7 +46,7 @@ public: SongAndSteps() : pSong(NULL), pSteps(NULL) { } SongAndSteps( Song *pSong_, Steps *pSteps_ ) : pSong(pSong_), pSteps(pSteps_) { } bool operator==( const SongAndSteps& other ) const { return pSong==other.pSong && pSteps==other.pSteps; } - bool operator<( const SongAndSteps& other ) const { return pSong<=other.pSong && pSteps<=other.pSteps; } + bool operator<( const SongAndSteps& other ) const { if( pSong!=other.pSong ) return pSong