diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-06-13 17:28:45 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-06-13 17:28:45 +0000 |
commit | 23b0669bc0c2e24a5b637f080e45553ed853d941 (patch) | |
tree | 5f777f6e6643302af509aaf714bd6d47137f68e4 /source/sv_init.c | |
parent | a4c98a614298d56fae192528323dcc74c5465e75 (diff) |
Pass -MAX_WBITS to inflateInit2/deflateInit2 instead of raw value of -15.
Diffstat (limited to 'source/sv_init.c')
-rw-r--r-- | source/sv_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sv_init.c b/source/sv_init.c index 1c0d90f..e439c02 100644 --- a/source/sv_init.c +++ b/source/sv_init.c @@ -244,7 +244,7 @@ void SV_InitGame( qboolean ismvd ) { svs.z.zalloc = SV_Zalloc; svs.z.zfree = SV_Zfree; if( deflateInit2( &svs.z, Z_DEFAULT_COMPRESSION, Z_DEFLATED, - -15, 9, Z_DEFAULT_STRATEGY ) != Z_OK ) + -MAX_WBITS, 9, Z_DEFAULT_STRATEGY ) != Z_OK ) { Com_Error( ERR_FATAL, "%s: deflateInit2() failed", __func__ ); } |