A problem with removing StyleI.player: an obscure difference
between StyleI.player and MenuI.player is that StyleI is set even if there's no attached MenuButton, and MenuI.player is set even if there's no attached column. That's an odd distinction, anyway. Move input.MenuI.player to input.pn. This also puts it in the same place as input.mp.
This commit is contained in:
@@ -1433,7 +1433,10 @@ void HandleInputEvents(float fDeltaTime)
|
||||
}
|
||||
|
||||
if( input.GameI.IsValid() )
|
||||
{
|
||||
INPUTMAPPER->GameToMenu( input.GameI, input.MenuI );
|
||||
input.pn = INPUTMAPPER->ControllerToPlayerNumber( input.GameI.controller );
|
||||
}
|
||||
|
||||
if( HandleGlobalInputs(input) )
|
||||
continue; // skip
|
||||
|
||||
Reference in New Issue
Block a user