diff options
| author | Choupom <andycootlapin@hotmail.fr> | 2010-10-09 20:04:14 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-11 00:17:46 +0200 |
| commit | bed7b64457c3c99a73088efdf7f31178e70c57dc (patch) | |
| tree | 5375b021a223d9d76f42a0fd4dae2a5a4260a964 | |
| parent | 107545da0a5c3a7ee860679ded994173f48c39ad (diff) | |
| download | zcatch-bed7b64457c3c99a73088efdf7f31178e70c57dc.tar.gz zcatch-bed7b64457c3c99a73088efdf7f31178e70c57dc.zip | |
fixed map selection in map editor
| -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 0b84fe38..295f72b9 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -2147,7 +2147,7 @@ static void EditorListdirCallback(const char *pName, int IsDir, int StorageType, void CEditor::AddFileDialogEntry(int Index, CUIRect *pView) { m_FilesCur++; - if(m_FilesCur-1 < m_FilesStartAt || m_FilesCur > m_FilesStopAt) + if(m_FilesCur-1 < m_FilesStartAt || m_FilesCur >= m_FilesStopAt) return; CUIRect Button; |