remove MenuInput.IsValid(); if invalid, the button is simply MenuButton_INVALID

This commit is contained in:
Glenn Maynard
2006-09-14 20:31:46 +00:00
parent c559ff69b6
commit f1cd95828e
10 changed files with 51 additions and 69 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ MenuButton Game::GameInputToMenuButton( GameInput GameI ) const
void Game::MenuInputToGameInput( MenuInput MenuI, PlayerNumber pn, GameInput GameIout[4] ) const
{
ASSERT( MenuI.IsValid() );
ASSERT( MenuI != MenuButton_INVALID );
GameIout[0].MakeInvalid(); // initialize
GameIout[1].MakeInvalid();