don't allow StringToX for *_INVALID values

This commit is contained in:
Chris Danford
2005-03-05 21:50:33 +00:00
parent 2d2796148b
commit b60d135493
11 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ static const CString CabinetLightNames[NUM_CABINET_LIGHTS] = {
"BassLeft",
"BassRight",
};
XToString( CabinetLight );
XToString( CabinetLight, NUM_CABINET_LIGHTS );
static const CString LightsModeNames[NUM_LIGHTS_MODES] = {
"Attract",
@@ -32,7 +32,7 @@ static const CString LightsModeNames[NUM_LIGHTS_MODES] = {
"Cleared",
"Test",
};
XToString( LightsMode );
XToString( LightsMode, NUM_LIGHTS_MODES );
LightsManager* LIGHTSMAN = NULL; // global and accessable from anywhere in our program