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 -2
View File
@@ -138,9 +138,8 @@ void ScreenSelectGroup::Input( const InputEventPlus &input )
void ScreenSelectGroup::HandleScreenMessage( const ScreenMessage SM )
{
switch( SM )
if( SM == SM_BeginFadingOut )
{
case SM_BeginFadingOut:
StartTransitioningScreen( SM_GoToNextScreen );
return;
}