1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix possible crash on replaying combat after manual run

This commit is contained in:
Ivan Savenko
2024-05-23 11:36:18 +00:00
parent f8a206b0c6
commit 2aec3cde2c
4 changed files with 2 additions and 8 deletions

View File

@@ -192,11 +192,6 @@ void BattleWindow::createTimerInfoWindows()
}
}
BattleWindow::~BattleWindow()
{
CPlayerInterface::battleInt = nullptr;
}
std::shared_ptr<BattleConsole> BattleWindow::buildBattleConsole(const JsonNode & config) const
{
auto rect = readRect(config["rect"]);