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.
This commit is contained in:
Charles Lohr
2008-01-27 05:43:30 +00:00
parent 21dff73426
commit b728916bd5
+3 -1
View File
@@ -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();