PlayerNumber -> IEP.
This commit is contained in:
@@ -708,8 +708,12 @@ float ScreenSelectMaster::DoMenuStart( PlayerNumber pn )
|
|||||||
return fSecs;
|
return fSecs;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenSelectMaster::MenuStart( PlayerNumber pn )
|
void ScreenSelectMaster::MenuStart( const InputEventPlus &input )
|
||||||
{
|
{
|
||||||
|
if( input.type != IET_FIRST_PRESS )
|
||||||
|
return;
|
||||||
|
PlayerNumber pn = input.pn;
|
||||||
|
|
||||||
// If the player isn't already joined, try to join them.
|
// If the player isn't already joined, try to join them.
|
||||||
// Allow a player to join even if input is locked or someone has already already chosen.
|
// Allow a player to join even if input is locked or someone has already already chosen.
|
||||||
Screen::JoinInput( pn );
|
Screen::JoinInput( pn );
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public:
|
|||||||
virtual void MenuRight( const InputEventPlus &input );
|
virtual void MenuRight( const InputEventPlus &input );
|
||||||
virtual void MenuUp( const InputEventPlus &input );
|
virtual void MenuUp( const InputEventPlus &input );
|
||||||
virtual void MenuDown( const InputEventPlus &input );
|
virtual void MenuDown( const InputEventPlus &input );
|
||||||
virtual void MenuStart( PlayerNumber pn );
|
virtual void MenuStart( const InputEventPlus &input );
|
||||||
virtual void TweenOnScreen();
|
virtual void TweenOnScreen();
|
||||||
virtual void TweenOffScreen();
|
virtual void TweenOffScreen();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user