summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/d_deh.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/d_deh.c')
-rw-r--r--apps/plugins/doom/d_deh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/d_deh.c b/apps/plugins/doom/d_deh.c
index 82426c1..abdaeae 100644
--- a/apps/plugins/doom/d_deh.c
+++ b/apps/plugins/doom/d_deh.c
@@ -1484,7 +1484,7 @@ void ProcessDehFile(const char *filename, const char *outfilename, int lumpnum)
if (strcmp(outfilename, "-"))
{
fileout = open(outfilename, firstfile ? O_WRONLY | O_CREAT :
- O_WRONLY | O_APPEND);
+ O_WRONLY | O_APPEND, 0666);
if (fileout < 0)
{
printf( "Could not open -dehout file %s\n... using stdout.\n",