short-circuit ScreenGameplay::UpdateLights()
This commit is contained in:
@@ -1537,6 +1537,9 @@ void ScreenGameplay::Update( float fDeltaTime )
|
|||||||
|
|
||||||
void ScreenGameplay::UpdateLights()
|
void ScreenGameplay::UpdateLights()
|
||||||
{
|
{
|
||||||
|
if( !LIGHTSMAN->IsEnabled() )
|
||||||
|
return;
|
||||||
|
|
||||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||||
bool bBlinkCabinetLight[NUM_CABINET_LIGHTS];
|
bool bBlinkCabinetLight[NUM_CABINET_LIGHTS];
|
||||||
bool bBlinkGameButton[MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS];
|
bool bBlinkGameButton[MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS];
|
||||||
|
|||||||
Reference in New Issue
Block a user