fix AV if enable debug lights after starting gameplay with them disabled

This commit is contained in:
Chris Danford
2005-06-02 20:06:26 +00:00
parent de3ce27136
commit 9d30bde4c6
+2
View File
@@ -1623,6 +1623,8 @@ void ScreenGameplay::UpdateLights()
{
if( !LIGHTSMAN->IsEnabled() )
return;
if( m_CabinetLightsNoteData.GetNumTracks() == 0 ) // light data wasn't loaded
return;
const Style* pStyle = GAMESTATE->GetCurrentStyle();
bool bBlinkCabinetLight[NUM_CABINET_LIGHTS];