mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
fixed infantry data duplication after property update
This commit is contained in:
parent
93e956e7ac
commit
602550eb6a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue