File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -630,7 +630,7 @@ void CCore::SetConnected ( bool bConnected )
630630
631631bool CCore::IsConnected ( void )
632632{
633- return m_pLocalGUI->GetMainMenu ( )->GetIsIngame ();
633+ return m_pLocalGUI->GetMainMenu () && m_pLocalGUI-> GetMainMenu ( )->GetIsIngame ();
634634}
635635
636636
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ CMapEventManager::CMapEventManager ( void )
2626CMapEventManager::~CMapEventManager ( void )
2727{
2828 // If this happens while we're iterating the list, we're screwed
29- assert ( !m_bIteratingList );
29+ dassert ( !m_bIteratingList );
3030
3131 // This should always be empty when m_bIteratingList is false
32- assert ( m_TrashCan.empty () );
32+ dassert ( m_TrashCan.empty () );
3333
3434 // Delete all eventhandlers
3535 DeleteAll ();
You can’t perform that action at this time.
0 commit comments