Explicit type conversion

This commit is contained in:
def 2018-04-30 18:22:31 +02:00
parent c594a59569
commit 8225077d17

View file

@ -1135,7 +1135,7 @@ void CGameContext::ConShowAll(IConsole::IResult *pResult, void *pUserData)
if (pResult->NumArguments())
{
if (pPlayer->m_ShowAll == pResult->GetInteger(0))
if (pPlayer->m_ShowAll == (bool)pResult->GetInteger(0))
return;
pPlayer->m_ShowAll = pResult->GetInteger(0);