From 13085923c5b3c42babfb2cfe948aa6dbba963ac1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 30 Sep 2006 05:49:54 +0000 Subject: [PATCH] simplify --- stepmania/src/InputMapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index 19bfe9a3e1..61c315da35 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -50,7 +50,7 @@ void InputMapper::AddDefaultMappingsForCurrentGameIfUnmapped() // Clear default mappings. Default mappings are in the third slot. FOREACH_GameController( i ) FOREACH_GameButton(j) - ClearFromInputMap( GameInput((GameController)i,(GameButton)j), 2 ); + ClearFromInputMap( GameInput(i, j), 2 ); const Game* pGame = GAMESTATE->GetCurrentGame(); FOREACH_GameController( c ) @@ -61,7 +61,7 @@ void InputMapper::AddDefaultMappingsForCurrentGameIfUnmapped() if( key == NO_DEFAULT_KEY ) continue; DeviceInput DeviceI( DEVICE_KEYBOARD, key ); - GameInput GameI( (GameController)c, (GameButton)b ); + GameInput GameI( c, (GameButton)b ); if( !IsMapped(DeviceI) ) // if this key isn't already being used by another user-made mapping SetInputMap( DeviceI, GameI, 2 ); }