about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
authorxalduin <xalduin@gmail.com>2010-06-05 18:47:30 -0400
committerxalduin <xalduin@gmail.com>2010-06-05 18:47:30 -0400
commit2d99a0360fa4ca08525c93ba81469fb2b4cc7e72 (patch)
treefb59bfc5d65a4263f09572e603e1a22a14ecc8d9 /src/game/editor
parent80a7c53dec3e2fefbdf854ef32efb242662179a7 (diff)
downloadzcatch-2d99a0360fa4ca08525c93ba81469fb2b4cc7e72.tar.gz
zcatch-2d99a0360fa4ca08525c93ba81469fb2b4cc7e72.zip
Images are now sorted on Append
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index 44620ab9..07761441 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -568,6 +568,8 @@ static void CallbackAppendMap(const char *pFileName, void *pUser)
 	CEditor *pEditor = (CEditor*)pUser;
 	if(pEditor->Append(pFileName))
 		pEditor->m_aFileName[0] = 0;
+	else
+		pEditor->SortImages();
 }
 static void CallbackSaveMap(const char *pFileName, void *pUser){ if(((CEditor*)pUser)->Save(pFileName)) str_copy(((CEditor*)pUser)->m_aFileName, pFileName, 512); }