Fix confusing local and global variables having the same name.
This commit is contained in:
@@ -152,8 +152,8 @@ void InputFilter::ResetDevice( InputDevice device )
|
|||||||
LockMut(*queuemutex);
|
LockMut(*queuemutex);
|
||||||
RageTimer now;
|
RageTimer now;
|
||||||
|
|
||||||
const ButtonStateMap g_ButtonStates( g_ButtonStates );
|
const ButtonStateMap ButtonStates( g_ButtonStates );
|
||||||
FOREACHM_CONST( DeviceInput, ButtonState, g_ButtonStates, b )
|
FOREACHM_CONST( DeviceInput, ButtonState, ButtonStates, b )
|
||||||
{
|
{
|
||||||
const DeviceInput &di = b->first;
|
const DeviceInput &di = b->first;
|
||||||
if( di.device == device )
|
if( di.device == device )
|
||||||
|
|||||||
Reference in New Issue
Block a user