summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
commitcb43ed08c3cf6410fe4ce22dac3d07952db92893 (patch)
tree0b2b2790941743db47913cdf06b819c36b89e161 /source/cl_parse.c
parent179f701f7aec100ac1228fc02778fc4af47b75f0 (diff)
Accept `all' as special argument to `delstuffcmd' command.
Cleaned up Cvar_Get and fixed semantic bug. Accept `background keyword in menu scripts. Renamed `gl_fastsky' to `gl_drawsky'. If at least one of the sky env maps fails lo load, disable entire sky drawing. Reworked loading screen. Fixed Com_Quit argument string handling. Catch more signals on *nix. Updated server docs.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index f215a29..abbe8b5 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -98,7 +98,7 @@ qboolean CL_CheckOrDownloadFile( const char *path ) {
//ZOID
// check to see if we already have a tmp for this file, if so, try to resume
// open the file if not opened yet
- length = FS_FOpenFile( cls.downloadtempname, &f, FS_MODE_RDWR|FS_FLAG_RAW );
+ length = FS_FOpenFile( cls.downloadtempname, &f, FS_MODE_RDWR );
if( length < 0 && f ) {
Com_WPrintf( "Couldn't determine size of %s\n", cls.downloadtempname );
FS_FCloseFile( f );
@@ -209,9 +209,7 @@ static void CL_ParseDownload( void ) {
// open the file if not opened yet
if( !cls.download ) {
- FS_FOpenFile( cls.downloadtempname, &cls.download,
- FS_MODE_WRITE|FS_FLAG_RAW );
-
+ FS_FOpenFile( cls.downloadtempname, &cls.download, FS_MODE_WRITE );
if( !cls.download ) {
msg_read.readcount += size;
Com_WPrintf( "Failed to open '%s' for writing\n",