From 1ba25d4aebc90cc506a5c009d0042d0e46076074 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 26 Sep 2006 21:24:27 +0000 Subject: [PATCH] NUM_CabinetLight --- stepmania/src/arch/Lights/LightsDriver_Win32Parallel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )