summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cscriptparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ue2/imgsynth2/cscriptparser.cpp')
-rw-r--r--ue2/imgsynth2/cscriptparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ue2/imgsynth2/cscriptparser.cpp b/ue2/imgsynth2/cscriptparser.cpp
index 17ff5a4..58ce3a8 100644
--- a/ue2/imgsynth2/cscriptparser.cpp
+++ b/ue2/imgsynth2/cscriptparser.cpp
@@ -194,7 +194,7 @@ void CScriptparser::write(std::list<std::string> funcparams)
194 /* let handlers write() parse the file */ 194 /* let handlers write() parse the file */
195 try 195 try
196 { 196 {
197 m_handler->write(file, filename); 197 m_handler->write(file);
198 if (!file.good()) 198 if (!file.good())
199 throw ParserError("Error while writing image file.", m_curline); 199 throw ParserError("Error while writing image file.", m_curline);
200 file.close(); 200 file.close();