input.pn
This commit is contained in:
@@ -723,7 +723,7 @@ void ScreenNameEntryTraditional::Backspace( PlayerNumber pn )
|
||||
|
||||
void ScreenNameEntryTraditional::MenuLeft( const InputEventPlus &input )
|
||||
{
|
||||
PlayerNumber pn = input.MenuI.player;
|
||||
PlayerNumber pn = input.pn;
|
||||
if( !m_bStillEnteringName[pn] || IsTransitioning() )
|
||||
return;
|
||||
|
||||
@@ -735,7 +735,7 @@ void ScreenNameEntryTraditional::MenuLeft( const InputEventPlus &input )
|
||||
|
||||
void ScreenNameEntryTraditional::MenuRight( const InputEventPlus &input )
|
||||
{
|
||||
PlayerNumber pn = input.MenuI.player;
|
||||
PlayerNumber pn = input.pn;
|
||||
if( !m_bStillEnteringName[pn] || IsTransitioning() )
|
||||
return;
|
||||
|
||||
|
||||
@@ -1445,7 +1445,7 @@ void HandleInputEvents(float fDeltaTime)
|
||||
if( GAMESTATE->IsEventMode() &&
|
||||
CodeDetector::EnteredCode(input.GameI.controller,CODE_BACK_IN_EVENT_MODE) )
|
||||
{
|
||||
input.MenuI.player = PLAYER_1;
|
||||
input.pn = PLAYER_1;
|
||||
input.MenuI.button = MENU_BUTTON_BACK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user