git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@359
83fadc84-e282-4d84-a09a-
c4228d6ae7e5
switch( m_LightsMode )
{
case LIGHTSMODE_ATTRACT:
- case LIGHTSMODE_DEMONSTRATION:
{
ZERO( m_LightsState.m_bGameButtonLights );
}
}
break;
case LIGHTSMODE_MENU:
+ case LIGHTSMODE_DEMONSTRATION:
case LIGHTSMODE_GAMEPLAY:
{
- if( m_LightsMode == LIGHTSMODE_GAMEPLAY && PREFSMAN->m_bBlinkGameplayButtonLightsOnNote )
+ if( m_LightsMode != LIGHTSMODE_MENU && PREFSMAN->m_bBlinkGameplayButtonLightsOnNote )
{
//
// Blink on notes.
BackgroundLayer iLayer = BACKGROUND_LAYER_1;
int iBGLayer = (int)iLayer;
if( 1 == sscanf( sValueName, "BGCHANGES%d", &iBGLayer ) )
- iLayer = (BackgroundLayer)(iLayer-1); // #BGCHANGES2 = BACKGROUND_LAYER_2
+ iLayer = (BackgroundLayer)(iBGLayer-1); // #BGCHANGES2 = BACKGROUND_LAYER_2
bool bValid = iLayer>=0 && iLayer<NUM_BackgroundLayer;
if( !bValid )