diff options
| author | oy <Tom_Adams@web.de> | 2010-06-11 13:44:28 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-06-11 13:44:28 +0200 |
| commit | d7c106ca900a3b9b808878bae1b4fe2021b703e0 (patch) | |
| tree | 5def5d5d6eae6ac85b04db1ae298bd01bd40f341 /src/game | |
| parent | 39853bcf897c351ed392fb2f08215b1499e86906 (diff) | |
| download | zcatch-d7c106ca900a3b9b808878bae1b4fe2021b703e0.tar.gz zcatch-d7c106ca900a3b9b808878bae1b4fe2021b703e0.zip | |
fixed border function in the editor. Closes #117
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/editor/ed_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp index 3a47b00a..ac27a5c6 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -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; } |