about summary refs log tree commit diff
path: root/src/game/editor/io.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-07-09 01:09:06 +0200
committeroy <Tom_Adams@web.de>2011-07-09 01:09:06 +0200
commit7bc07b613f9fed3dcef26f63332ea68db1e1f381 (patch)
treed357af2b1d1db1dd6d5d62874326c739890402a4 /src/game/editor/io.cpp
parentf44094490549a46781a7d85a137ddf748021d00f (diff)
downloadzcatch-7bc07b613f9fed3dcef26f63332ea68db1e1f381.tar.gz
zcatch-7bc07b613f9fed3dcef26f63332ea68db1e1f381.zip
added auto mapping feature by LordSkelethom
Diffstat (limited to 'src/game/editor/io.cpp')
-rw-r--r--src/game/editor/io.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/editor/io.cpp b/src/game/editor/io.cpp
index 7207e49f..987404b8 100644
--- a/src/game/editor/io.cpp
+++ b/src/game/editor/io.cpp
@@ -449,6 +449,9 @@ int CEditorMap::Load(class IStorage *pStorage, const char *pFileName, int Storag
 				if(pName)
 					str_copy(pImg->m_aName, pName, 128);
 
+				// load auto mapper file
+				pImg->m_AutoMapper.Load(pImg->m_aName);
+
 				m_lImages.add(pImg);
 
 				// unload image