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:
Glenn Maynard
2006-09-13 09:57:07 +00:00
parent d3095e0913
commit d5857acb3a
4 changed files with 13 additions and 0 deletions
+3
View File
@@ -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