mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
#52, fixed placing existing waypoint issue again .
This commit is contained in:
parent
32dd320768
commit
f4617c29dd
3 changed files with 22 additions and 13 deletions
|
@ -2060,7 +2060,7 @@ BOOL CMapData::AddWaypoint(CString id, DWORD dwPos)
|
|||
pSec = &m_mapfile.AddSection("Waypoints");
|
||||
}
|
||||
|
||||
pSec->Insert(std::move(id), k);
|
||||
pSec->InsertOrAssign(std::move(id), k);
|
||||
|
||||
if (!m_noAutoObjectUpdate) {
|
||||
UpdateWaypoints(FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue