no need to MenuI.IsValid before comparing

This commit is contained in:
Glenn Maynard
2006-09-14 08:06:22 +00:00
parent 93844f840f
commit 26a773d983
+1 -1
View File
@@ -241,7 +241,7 @@ bool Screen::JoinInput( const InputEventPlus &input )
if( !GAMESTATE->PlayersCanJoin() )
return false;
if( input.MenuI.IsValid() && input.MenuI == MENU_BUTTON_START )
if( input.MenuI == MENU_BUTTON_START )
{
/* If this side is already in, don't re-join (and re-pay!). */
if(GAMESTATE->m_bSideIsJoined[input.pn])