Skip to content

Commit c444095

Browse files
committed
fix macOS build again
1 parent 57f6bf6 commit c444095

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/soundflags.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ enum
5050
// Don't change this without consulting Kelly or Wedge (sjb).
5151
#define ATTN_GUNFIRE 0.27f
5252

53-
enum soundlevel_t : int
53+
enum soundlevel_t
5454
{
5555
SNDLVL_NONE = 0,
5656

@@ -95,6 +95,7 @@ enum soundlevel_t : int
9595

9696
// NOTE: Valid soundlevel_t values are 0-255.
9797
// 256-511 are reserved for sounds using goldsrc compatibility attenuation.
98+
SNDLVBL_MAX = 511
9899
};
99100

100101
#define MAX_SNDLVL_BITS 9 // Used to encode 0-255 for regular soundlevel_t's and 256-511 for goldsrc-compatible ones.

0 commit comments

Comments
 (0)