소스 검색

Fix possible crash on swithing to another player in hotseat while having
different visible heroes on minimap

Ivan Savenko 4 달 전
부모
커밋
27f7890784
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      client/adventureMap/AdventureMapInterface.cpp

+ 1 - 0
client/adventureMap/AdventureMapInterface.cpp

@@ -362,6 +362,7 @@ void AdventureMapInterface::onHotseatWaitStarted(PlayerColor playerID)
 {
 	backgroundDimLevel = 255;
 
+	widget->getMinimap()->setAIRadar(true);
 	onCurrentPlayerChanged(playerID);
 	setState(EAdventureState::HOTSEAT_WAIT);
 }