mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed border function in the editor. Closes #117
This commit is contained in:
parent
39853bcf89
commit
d7c106ca90
|
@ -2925,7 +2925,7 @@ void CEditor::DoMapBorder()
|
|||
pT->m_pTiles[i].m_Index = 1;
|
||||
}
|
||||
|
||||
for(int i = ((pT->m_Width-2)*pT->m_Height); i < pT->m_Width*pT->m_Height; ++i)
|
||||
for(int i = (pT->m_Width*(pT->m_Height-2)); i < pT->m_Width*pT->m_Height; ++i)
|
||||
pT->m_pTiles[i].m_Index = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue