diff --git a/src/client/sound/snd_vorbis.c b/src/client/sound/snd_vorbis.c index 3c36f4fa..3ce12525 100644 --- a/src/client/sound/snd_vorbis.c +++ b/src/client/sound/snd_vorbis.c @@ -29,6 +29,8 @@ #include #include + +#define OV_EXCLUDE_STATIC_CALLBACKS #include #include "../header/client.h" diff --git a/src/common/unzip/unzip.c b/src/common/unzip/unzip.c index 319c330d..69c45d35 100644 --- a/src/common/unzip/unzip.c +++ b/src/common/unzip/unzip.c @@ -1284,7 +1284,7 @@ unzReadCurrentFile(file, buf, len) return UNZ_PARAMERROR; - if ((pfile_in_zip_read_info->read_buffer == NULL)) + if (pfile_in_zip_read_info->read_buffer == NULL) return UNZ_END_OF_LIST_OF_FILE; if (len == 0) return 0; diff --git a/src/refresh/r_surf.c b/src/refresh/r_surf.c index 31e08e73..9f16cd08 100644 --- a/src/refresh/r_surf.c +++ b/src/refresh/r_surf.c @@ -410,7 +410,7 @@ R_RenderBrushPoly ( msurface_t *fa ) } /* dynamic this frame or dynamic previously */ - if ( ( fa->dlightframe == r_framecount ) ) + if ( fa->dlightframe == r_framecount ) { dynamic: @@ -630,7 +630,7 @@ R_RenderLightmappedPoly ( msurface_t *surf ) } } - if ( ( surf->dlightframe == r_framecount ) ) + if ( surf->dlightframe == r_framecount ) { dynamic: