From c77b915b29ad6e5ccb616b7fbbee83e24d3d6d1b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 9 May 2005 11:54:13 +0000 Subject: [PATCH] fix sorting --- stepmania/src/ScreenAttract.cpp | 2 ++ stepmania/src/ScreenDemonstration.cpp | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenAttract.cpp b/stepmania/src/ScreenAttract.cpp index 11900dc054..57becd949f 100644 --- a/stepmania/src/ScreenAttract.cpp +++ b/stepmania/src/ScreenAttract.cpp @@ -37,6 +37,8 @@ void ScreenAttract::Init() LOG->Trace( "ScreenAttract::ScreenAttract(%s)", m_sName.c_str() ); ScreenWithMenuElements::Init(); + + this->SortByDrawOrder(); } diff --git a/stepmania/src/ScreenDemonstration.cpp b/stepmania/src/ScreenDemonstration.cpp index 5c41274345..95f0711bb7 100644 --- a/stepmania/src/ScreenDemonstration.cpp +++ b/stepmania/src/ScreenDemonstration.cpp @@ -40,8 +40,7 @@ void ScreenDemonstration::Init() } - this->MoveToTail( &m_In ); - this->MoveToTail( &m_Out ); + this->SortByDrawOrder(); ClearMessageQueue(); // remove all of the messages set in ScreenGameplay that drive "ready", "go", etc.