We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5415b1b + 779183f commit b081c63Copy full SHA for b081c63
Client/mods/deathmatch/logic/CClientGUIManager.cpp
@@ -43,7 +43,7 @@ void CClientGUIManager::DeleteAll()
43
44
bool CClientGUIManager::Exists(CClientGUIElement* pGUIElement)
45
{
46
- return m_Elements.Contains(pGUIElement);
+ return pGUIElement ? m_Elements.Contains(pGUIElement) : false;
47
}
48
49
bool CClientGUIManager::Exists(CGUIElement* pCGUIElement)
0 commit comments