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 );
}
-2
View File
@@ -87,9 +87,7 @@ void ScreenSelectMusic::Init()
//clear cached trails if any - cached trails points to already freed data if returning to select course after course played
SONGMAN->InvalidateCachedTrails();
FOREACH_ENUM( PlayerNumber, p )
{
GAMESTATE->m_pCurTrail[p].Set( NULL );
}
/* Cache: */
m_sSectionMusicPath = THEME->GetPathS(m_sName,"section music");