From 26a773d98348215ebc1f5acfd8d6be7e15eff4ac Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 14 Sep 2006 08:06:22 +0000 Subject: [PATCH] no need to MenuI.IsValid before comparing --- stepmania/src/Screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Screen.cpp b/stepmania/src/Screen.cpp index 0a78c455ba..275600fcf3 100644 --- a/stepmania/src/Screen.cpp +++ b/stepmania/src/Screen.cpp @@ -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])