summaryrefslogtreecommitdiff
path: root/src/net_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net_common.c')
-rw-r--r--src/net_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_common.c b/src/net_common.c
index fee2091..5e1fb25 100644
--- a/src/net_common.c
+++ b/src/net_common.c
@@ -321,7 +321,7 @@ static void logfile_open( void ) {
}
}
- f = FS_EasyOpenFile( buffer, sizeof( buffer ), mode,
+ f = FS_EasyOpenFile( buffer, sizeof( buffer ), mode | FS_FLAG_TEXT,
"logs/", net_log_name->string, ".log" );
if( !f ) {
Cvar_Set( "net_log_enable", "0" );