NUM_CabinetLight

This commit is contained in:
Glenn Maynard
2006-09-26 21:24:27 +00:00
parent 3311f1992c
commit 1ba25d4aeb
@@ -28,7 +28,7 @@ int CabinetLightToIndex( CabinetLight cl )
int GameControllerAndGameButtonToIndex( GameController gc, GameButton gb ) int GameControllerAndGameButtonToIndex( GameController gc, GameButton gb )
{ {
CLAMP( (int&)gb, 0, 4 ); 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 ) void IndexToLptAndPin( int index, int &lpt_out, int &pin_out )