diff --git a/stepmania/src/arch/Lights/LightsDriver_Win32Parallel.cpp b/stepmania/src/arch/Lights/LightsDriver_Win32Parallel.cpp index d6a7117510..a205630433 100644 --- a/stepmania/src/arch/Lights/LightsDriver_Win32Parallel.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_Win32Parallel.cpp @@ -28,7 +28,7 @@ int CabinetLightToIndex( CabinetLight cl ) int GameControllerAndGameButtonToIndex( GameController gc, GameButton gb ) { CLAMP( (int&)gb, 0, 4 ); - return NUM_CABINET_LIGHTS + gc*4 + gb; + return NUM_CabinetLight + gc*4 + gb; } void IndexToLptAndPin( int index, int &lpt_out, int &pin_out )