From b728916bd58a855cea32e32d47054f72929eb8c5 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 27 Jan 2008 05:43:30 +0000 Subject: [PATCH] Fix visual problem. The info box for rooms starts on screen, and stays there until it gets re-loaded with usable information. Nothing should happen with it until usable room information needs to be displayed. --- stepmania/src/ScreenNetRoom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenNetRoom.cpp b/stepmania/src/ScreenNetRoom.cpp index 3909008fb1..0f3ed23075 100644 --- a/stepmania/src/ScreenNetRoom.cpp +++ b/stepmania/src/ScreenNetRoom.cpp @@ -66,10 +66,12 @@ void ScreenNetRoom::Init() LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_RoomWheel ); this->AddChild( &m_RoomWheel ); + //Since the room info meter does not start active, and it + //is activated by code elsewhere, it should not be put on + //screen to begin with. m_roomInfo.SetName( "RoomInfoDisplay" ); m_roomInfo.Load( "RoomInfoDisplay" ); m_roomInfo.SetDrawOrder( 1 ); - LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_roomInfo ); this->AddChild( &m_roomInfo ); this->SortByDrawOrder();