From f1c6caf68504f4971be379871f314a6b35afd54b Mon Sep 17 00:00:00 2001 From: nillerusr Date: Sat, 7 Oct 2023 02:31:14 +0300 Subject: [PATCH] fix macOS build again --- public/soundflags.h | 1 + 1 file changed, 1 insertion(+) diff --git a/public/soundflags.h b/public/soundflags.h index 7739a156d8..94fb4d130a 100644 --- a/public/soundflags.h +++ b/public/soundflags.h @@ -95,6 +95,7 @@ enum soundlevel_t : int // NOTE: Valid soundlevel_t values are 0-255. // 256-511 are reserved for sounds using goldsrc compatibility attenuation. + SNDLVBL_MAX = 511 }; #define MAX_SNDLVL_BITS 9 // Used to encode 0-255 for regular soundlevel_t's and 256-511 for goldsrc-compatible ones.