don't waste time loading lights data when lights are disabled

This commit is contained in:
Glenn Maynard
2005-01-28 04:55:13 +00:00
parent 116890da25
commit 2f747b53c2
+1
View File
@@ -1096,6 +1096,7 @@ void ScreenGameplay::LoadNextSong()
//
// Load cabinet lights data
//
if( LIGHTSMAN->IsEnabled() )
{
m_CabinetLightsNoteData.Init();
ASSERT( GAMESTATE->m_pCurSong );