diff options
Diffstat (limited to 'apps/plugins/doom/r_data.c')
| -rw-r--r-- | apps/plugins/doom/r_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/r_data.c b/apps/plugins/doom/r_data.c index f6328da..17800f2 100644 --- a/apps/plugins/doom/r_data.c +++ b/apps/plugins/doom/r_data.c @@ -721,7 +721,7 @@ cache; // Use cached translucency filter if it's available - if ((cachefd<0) ? cachefd = open(GAMEBASE"tranmap.dat",O_WRONLY | O_CREAT) , 1 : + if ((cachefd<0) ? cachefd = open(GAMEBASE"tranmap.dat",O_WRONLY | O_CREAT, 0666) , 1 : read(cachefd, &cache, sizeof(cache)) != sizeof(cache) || cache.pct != tran_filter_pct || memcmp(cache.playpal, playpal, sizeof cache.playpal) || |