mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Explicit type conversion
This commit is contained in:
parent
c594a59569
commit
8225077d17
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue