summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/r_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/r_data.c')
-rw-r--r--apps/plugins/doom/r_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/r_data.c b/apps/plugins/doom/r_data.c
index f6328dac17..17800f231c 100644
--- a/apps/plugins/doom/r_data.c
+++ b/apps/plugins/doom/r_data.c
@@ -721,7 +721,7 @@ cache;
721 721
722 // Use cached translucency filter if it's available 722 // Use cached translucency filter if it's available
723 723
724 if ((cachefd<0) ? cachefd = open(GAMEBASE"tranmap.dat",O_WRONLY | O_CREAT) , 1 : 724 if ((cachefd<0) ? cachefd = open(GAMEBASE"tranmap.dat",O_WRONLY | O_CREAT, 0666) , 1 :
725 read(cachefd, &cache, sizeof(cache)) != sizeof(cache) || 725 read(cachefd, &cache, sizeof(cache)) != sizeof(cache) ||
726 cache.pct != tran_filter_pct || 726 cache.pct != tran_filter_pct ||
727 memcmp(cache.playpal, playpal, sizeof cache.playpal) || 727 memcmp(cache.playpal, playpal, sizeof cache.playpal) ||