Browse Source

#2044 - changed order of destructors to avoid crash

Andrii Danylchenko 2 years ago
parent
commit
fe9090ddfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/gameState/CGameState.cpp

+ 1 - 1
lib/gameState/CGameState.cpp

@@ -394,8 +394,8 @@ CGameState::CGameState()
 
 CGameState::~CGameState()
 {
-	map.dellNull();
 	curB.dellNull();
+	map.dellNull();
 }
 
 void CGameState::preInit(Services * services)