소스 검색

#2993 - destruct battle info first when destruction CGameState

Andrii Danylchenko 2 년 전
부모
커밋
4d6d64837f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/gameState/CGameState.cpp

+ 1 - 0
lib/gameState/CGameState.cpp

@@ -409,6 +409,7 @@ CGameState::CGameState()
 
 CGameState::~CGameState()
 {
+	currentBattles.clear();
 	map.dellNull();
 }