Fix display updating.
This commit is contained in:
@@ -122,6 +122,7 @@ void ScreenMapControllers::Update( float fDeltaTime )
|
|||||||
|
|
||||||
if( m_bWaitingForPress && m_DeviceIToMap.IsValid() ) // we're going to map an input
|
if( m_bWaitingForPress && m_DeviceIToMap.IsValid() ) // we're going to map an input
|
||||||
{
|
{
|
||||||
|
LOG->Trace("K");
|
||||||
GameInput curGameI( (GameController)m_iCurController,
|
GameInput curGameI( (GameController)m_iCurController,
|
||||||
(GameButton)m_iCurButton );
|
(GameButton)m_iCurButton );
|
||||||
|
|
||||||
@@ -131,6 +132,7 @@ void ScreenMapControllers::Update( float fDeltaTime )
|
|||||||
INPUTMAPPER->SaveMappingsToDisk();
|
INPUTMAPPER->SaveMappingsToDisk();
|
||||||
|
|
||||||
m_bWaitingForPress = false;
|
m_bWaitingForPress = false;
|
||||||
|
Refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,6 +181,7 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
LOG->Trace("set");
|
||||||
m_DeviceIToMap = DeviceI;
|
m_DeviceIToMap = DeviceI;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user