RememberInput after filling everything in

This commit is contained in:
Glenn Maynard
2006-09-14 03:11:38 +00:00
parent 576d53c95c
commit 8859950d46
+3 -3
View File
@@ -1402,9 +1402,6 @@ void HandleInputEvents(float fDeltaTime)
INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI ); INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI );
if( input.GameI.IsValid() && input.type == IET_FIRST_PRESS )
INPUTQUEUE->RememberInput( input );
input.mp = MultiPlayer_INVALID; input.mp = MultiPlayer_INVALID;
{ {
@@ -1438,6 +1435,9 @@ void HandleInputEvents(float fDeltaTime)
input.pn = INPUTMAPPER->ControllerToPlayerNumber( input.GameI.controller ); input.pn = INPUTMAPPER->ControllerToPlayerNumber( input.GameI.controller );
} }
if( input.GameI.IsValid() && input.type == IET_FIRST_PRESS )
INPUTQUEUE->RememberInput( input );
if( HandleGlobalInputs(input) ) if( HandleGlobalInputs(input) )
continue; // skip continue; // skip