swap assignment

This commit is contained in:
Glenn Maynard
2006-12-26 22:57:18 +00:00
parent 9bfd0833b4
commit a5d870f707
+2 -2
View File
@@ -199,8 +199,8 @@ void InputFilter::ReportButtonChange( const DeviceInput &di, InputEventType t )
* g_ButtonStates will be in DeviceInput order, so users can binary search this
* list (eg. std::lower_bound).
*/
MakeButtonStateList( ie.m_ButtonState );
g_CurrentState = ie.m_ButtonState;
MakeButtonStateList( g_CurrentState );
ie.m_ButtonState = g_CurrentState;
}
void InputFilter::MakeButtonStateList( vector<DeviceInput> &aInputOut ) const