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:
@@ -66,10 +66,12 @@ void ScreenNetRoom::Init()
|
|||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_RoomWheel );
|
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_RoomWheel );
|
||||||
this->AddChild( &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.SetName( "RoomInfoDisplay" );
|
||||||
m_roomInfo.Load( "RoomInfoDisplay" );
|
m_roomInfo.Load( "RoomInfoDisplay" );
|
||||||
m_roomInfo.SetDrawOrder( 1 );
|
m_roomInfo.SetDrawOrder( 1 );
|
||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_roomInfo );
|
|
||||||
this->AddChild( &m_roomInfo );
|
this->AddChild( &m_roomInfo );
|
||||||
|
|
||||||
this->SortByDrawOrder();
|
this->SortByDrawOrder();
|
||||||
|
|||||||
Reference in New Issue
Block a user