about summary refs log tree commit diff
path: root/src/game/editor/ed_io.cpp
diff options
context:
space:
mode:
authorTom Adams <Tom_Adams@web.de>2010-05-31 21:55:45 +0000
committerTom Adams <Tom_Adams@web.de>2010-05-31 21:55:45 +0000
commit54692ceaf147406743aa8451208939019e706473 (patch)
tree175e7bd03167c69edc813e95754e5386d249510b /src/game/editor/ed_io.cpp
parentf14e7369f13d83a469fa6a539321dab2b4e5c90e (diff)
downloadzcatch-54692ceaf147406743aa8451208939019e706473.tar.gz
zcatch-54692ceaf147406743aa8451208939019e706473.zip
added fix for editor->append by xalduin
Diffstat (limited to 'src/game/editor/ed_io.cpp')
-rw-r--r--src/game/editor/ed_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/editor/ed_io.cpp b/src/game/editor/ed_io.cpp
index 8ca4f704..c2666138 100644
--- a/src/game/editor/ed_io.cpp
+++ b/src/game/editor/ed_io.cpp
@@ -574,7 +574,7 @@ int CEditor::Append(const char *pFileName)
 
 	int Err;
 	Err = NewMap.Load(Kernel()->RequestInterface<IStorage>(), pFileName);
-	if(Err)
+	if(!Err)
 		return Err;
 
 	// modify indecies