1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

fix segmentation fault; update townlist on adventuremap

This commit is contained in:
Laserlicht
2023-10-15 15:53:19 +02:00
committed by GitHub
parent 3b853bff08
commit 4528f42cdf
5 changed files with 27 additions and 23 deletions

View File

@ -325,6 +325,11 @@ void AdventureMapInterface::onSelectionChanged(const CArmedInstance *sel)
widget->getTownList()->redraw();
}
void AdventureMapInterface::onTownOrderChanged()
{
widget->getTownList()->updateWidget();
}
void AdventureMapInterface::onMapTilesChanged(boost::optional<std::unordered_set<int3>> positions)
{
if (positions)