This commit is contained in:
Steve Checkoway
2007-08-07 22:14:51 +00:00
parent 7a8be07a88
commit 60e94b15fb
2 changed files with 7 additions and 12 deletions
+7 -10
View File
@@ -144,23 +144,20 @@ void ScreenNameEntryTraditional::Input( const InputEventPlus &input )
{
if( IsTransitioning() )
return;
if(
( input.MenuI != GameButton_Invalid ) &&
( input.pn != PlayerNumber_Invalid )
)
if( input.MenuI != GameButton_Invalid && input.pn != PlayerNumber_Invalid )
{
switch( input.type )
{
case IET_FIRST_PRESS:
case IET_REPEAT:
{
Message msg( "Input" );
msg.SetParam( "PlayerNumber", input.pn );
msg.SetParam( "MenuItem", GameButtonToString( INPUTMAPPER->GetInputScheme(), input.MenuI ) );
this->HandleMessage( msg );
}
{
Message msg( "Input" );
msg.SetParam( "PlayerNumber", input.pn );
msg.SetParam( "MenuItem", GameButtonToString( INPUTMAPPER->GetInputScheme(), input.MenuI ) );
this->HandleMessage( msg );
break;
}
}
}
ScreenWithMenuElements::Input( input );
}