about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorChoupom <andycootlapin@hotmail.fr>2010-10-09 20:04:14 +0200
committeroy <Tom_Adams@web.de>2010-10-11 00:17:46 +0200
commitbed7b64457c3c99a73088efdf7f31178e70c57dc (patch)
tree5375b021a223d9d76f42a0fd4dae2a5a4260a964 /src/game
parent107545da0a5c3a7ee860679ded994173f48c39ad (diff)
downloadzcatch-bed7b64457c3c99a73088efdf7f31178e70c57dc.tar.gz
zcatch-bed7b64457c3c99a73088efdf7f31178e70c57dc.zip
fixed map selection in map editor
Diffstat (limited to 'src/game')
-rw-r--r--src/game/editor/ed_editor.cpp2
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;