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:
@ -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)
|
||||
|
Reference in New Issue
Block a user