fixed infantry data duplication after property update

This commit is contained in:
Zero Fanker 2024-12-10 19:51:31 -05:00
parent 93e956e7ac
commit 602550eb6a

View file

@ -2259,7 +2259,7 @@ void CIsoView::HandleProperties(int n, int type)
Map->DeleteInfantry(n);
Map->AddInfantry(&data);
Map->AddInfantry(&data, nullptr, nullptr, 0, n);
RedrawWindow(NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
break;