don't pause memory cards in demonstration

This commit is contained in:
Glenn Maynard
2005-02-06 10:10:38 +00:00
parent ddae9b2242
commit 7d51ae8641
+4 -2
View File
@@ -99,7 +99,8 @@ void ScreenGameplay::Init()
/* Pause MEMCARDMAN. If a memory card is remove, we don't want to interrupt the
* player by making a noise until the game finishes. */
MEMCARDMAN->PauseMountingThread();
if( !GAMESTATE->m_bDemonstrationOrJukebox )
MEMCARDMAN->PauseMountingThread();
if( GAMESTATE->m_bDemonstrationOrJukebox )
LIGHTSMAN->SetLightsMode( LIGHTSMODE_DEMONSTRATION );
@@ -784,7 +785,8 @@ ScreenGameplay::~ScreenGameplay()
LOG->Trace( "ScreenGameplay::~ScreenGameplay()" );
MEMCARDMAN->UnPauseMountingThread();
if( !GAMESTATE->m_bDemonstrationOrJukebox )
MEMCARDMAN->UnPauseMountingThread();
FOREACH_PlayerNumber(p)
{