Style.
This commit is contained in:
@@ -144,10 +144,7 @@ void ScreenNameEntryTraditional::Input( const InputEventPlus &input )
|
|||||||
{
|
{
|
||||||
if( IsTransitioning() )
|
if( IsTransitioning() )
|
||||||
return;
|
return;
|
||||||
if(
|
if( input.MenuI != GameButton_Invalid && input.pn != PlayerNumber_Invalid )
|
||||||
( input.MenuI != GameButton_Invalid ) &&
|
|
||||||
( input.pn != PlayerNumber_Invalid )
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
switch( input.type )
|
switch( input.type )
|
||||||
{
|
{
|
||||||
@@ -158,10 +155,10 @@ void ScreenNameEntryTraditional::Input( const InputEventPlus &input )
|
|||||||
msg.SetParam( "PlayerNumber", input.pn );
|
msg.SetParam( "PlayerNumber", input.pn );
|
||||||
msg.SetParam( "MenuItem", GameButtonToString( INPUTMAPPER->GetInputScheme(), input.MenuI ) );
|
msg.SetParam( "MenuItem", GameButtonToString( INPUTMAPPER->GetInputScheme(), input.MenuI ) );
|
||||||
this->HandleMessage( msg );
|
this->HandleMessage( msg );
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ScreenWithMenuElements::Input( input );
|
ScreenWithMenuElements::Input( input );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
//clear cached trails if any - cached trails points to already freed data if returning to select course after course played
|
||||||
SONGMAN->InvalidateCachedTrails();
|
SONGMAN->InvalidateCachedTrails();
|
||||||
FOREACH_ENUM( PlayerNumber, p )
|
FOREACH_ENUM( PlayerNumber, p )
|
||||||
{
|
|
||||||
GAMESTATE->m_pCurTrail[p].Set( NULL );
|
GAMESTATE->m_pCurTrail[p].Set( NULL );
|
||||||
}
|
|
||||||
|
|
||||||
/* Cache: */
|
/* Cache: */
|
||||||
m_sSectionMusicPath = THEME->GetPathS(m_sName,"section music");
|
m_sSectionMusicPath = THEME->GetPathS(m_sName,"section music");
|
||||||
|
|||||||
Reference in New Issue
Block a user