Merge pull request #8 from CookieMichal/DDRace64

[Fixed] Warning C4805
This commit is contained in:
Dennis Felsing 2014-07-10 18:49:27 +02:00
commit 0652fcf1c3

View file

@ -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;
}