prefer to do work that needs m_sName in Init() (prep work for later stuff)

This commit is contained in:
Glenn Maynard
2006-01-15 09:09:34 +00:00
parent 56fde437cf
commit 0ec8486dfa
+2 -2
View File
@@ -28,8 +28,6 @@ void Screen::InitScreen( Screen *pScreen )
Screen::Screen( CString sName )
{
SetName( sName );
ALLOW_OPERATOR_MENU_BUTTON.Load( sName, "AllowOperatorMenuButton" );
}
Screen::~Screen()
@@ -45,6 +43,8 @@ bool Screen::SortMessagesByDelayRemaining(const Screen::QueuedScreenMessage &m1,
void Screen::Init()
{
ALLOW_OPERATOR_MENU_BUTTON.Load( m_sName, "AllowOperatorMenuButton" );
SetFOV( 0 );
m_smSendOnPop = SM_None;