Fix: infantry drag cause data duplication .

This commit is contained in:
Zero Fanker 2024-11-30 19:26:58 -05:00
parent 1239ab0dad
commit 4db4af82a7

View file

@ -3015,7 +3015,7 @@ void CIsoView::OnLButtonUp(UINT nFlags, CPoint point)
Map->DeleteInfantry(m_id);
}
Map->AddInfantry(&infantry);
Map->AddInfantry(&infantry, nullptr, nullptr, 0, m_id);
break;
}