1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Fix passability update for object erase

This commit is contained in:
nordsoft 2022-09-10 21:10:19 +04:00
parent 115de2a1e4
commit 910468eef5

View File

@ -195,6 +195,7 @@ void MapController::commitObjectErase(int level)
_scenes[level]->selectionObjectsView.clear(); _scenes[level]->selectionObjectsView.clear();
_scenes[level]->objectsView.draw(); _scenes[level]->objectsView.draw();
_scenes[level]->selectionObjectsView.draw(); _scenes[level]->selectionObjectsView.draw();
_scenes[level]->passabilityView.update();
_miniscenes[level]->updateViews(); _miniscenes[level]->updateViews();
main->mapChanged(); main->mapChanged();