Simplify InputQueue: use InputEventPlus. This has the

timestamp it needs, and we can match MenuI from it without
doing extra conversions.
This commit is contained in:
Glenn Maynard
2006-09-08 03:16:35 +00:00
parent 8ebab0dde7
commit 4da8857f1d
3 changed files with 18 additions and 26 deletions
+1 -1
View File
@@ -1402,7 +1402,7 @@ void HandleInputEvents(float fDeltaTime)
INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI );
if( input.GameI.IsValid() && input.type == IET_FIRST_PRESS )
INPUTQUEUE->RememberInput( input.GameI );
INPUTQUEUE->RememberInput( input );
if( input.GameI.IsValid() )
{
INPUTMAPPER->GameToMenu( input.GameI, input.MenuI );