mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
commit
0652fcf1c3
|
@ -367,7 +367,7 @@ void CControls::OnRender()
|
|||
if( !AimPressed )
|
||||
{
|
||||
m_InputData[g_Config.m_ClDummy].m_Fire ++;
|
||||
if( m_InputData[g_Config.m_ClDummy].m_Fire % 2 != AimPressed )
|
||||
if( (bool)(m_InputData[g_Config.m_ClDummy].m_Fire % 2) != AimPressed )
|
||||
m_InputData[g_Config.m_ClDummy].m_Fire ++;
|
||||
FireWasPressed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue