This commit is contained in:
Glenn Maynard
2005-01-03 22:44:19 +00:00
parent 4b7ce342f5
commit 8cba265a01
9 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -89,11 +89,12 @@ REGISTER_SCREEN_CLASS( ScreenGameplay );
ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen(sName)
{
m_bDemonstration = bDemonstration;
Init(); // work around horrible gcc bug 3187
}
void ScreenGameplay::Init()
{
Screen::Init();
if( m_bDemonstration )
LIGHTSMAN->SetLightsMode( LIGHTSMODE_DEMONSTRATION );
else