switch -> if

This commit is contained in:
Glenn Maynard
2006-02-24 00:20:41 +00:00
parent 2d27c7e037
commit 0ad99bffc2
8 changed files with 40 additions and 52 deletions
+1 -5
View File
@@ -98,12 +98,8 @@ void ScreenTestLights::Input( const InputEventPlus &input )
void ScreenTestLights::HandleScreenMessage( const ScreenMessage SM )
{
switch( SM )
{
case SM_LoseFocus:
if( SM == SM_LoseFocus )
LIGHTSMAN->SetLightsMode( LIGHTSMODE_MENU );
break;
}
}
void ScreenTestLights::MenuLeft( PlayerNumber pn )