about summary refs log tree commit diff
path: root/src/game/editor/ed_editor.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-10-08 22:06:12 +0200
committeroy <Tom_Adams@web.de>2010-10-08 22:06:12 +0200
commit7ad4d3224c22216b1131df56172995be33d48405 (patch)
treeae5d799ec1aec7ceba7c6ee145a8471728d2efbf /src/game/editor/ed_editor.h
parenta0758893123cec707dc898bbf4b8f9721c6f827b (diff)
downloadzcatch-7ad4d3224c22216b1131df56172995be33d48405.tar.gz
zcatch-7ad4d3224c22216b1131df56172995be33d48405.zip
use file dialog when saving a map which was not loaded from the maps save path
Diffstat (limited to 'src/game/editor/ed_editor.h')
-rw-r--r--src/game/editor/ed_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.h b/src/game/editor/ed_editor.h
index 9388a671..bf6e6dec 100644
--- a/src/game/editor/ed_editor.h
+++ b/src/game/editor/ed_editor.h
@@ -458,6 +458,7 @@ public:
 		m_pTooltip = 0;
 
 		m_aFileName[0] = 0;
+		m_ValidSaveFilename = false;
 		
 		m_FileDialogStorageType = 0;
 		m_pFileDialogTitle = 0;
@@ -533,6 +534,7 @@ public:
 	const char *m_pTooltip;
 
 	char m_aFileName[512];
+	bool m_ValidSaveFilename;
 
 	enum
 	{