Skip to content

Commit

Permalink
fix macOS build again
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed Oct 7, 2023
1 parent 57f6bf6 commit c444095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/soundflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ enum
// Don't change this without consulting Kelly or Wedge (sjb).
#define ATTN_GUNFIRE 0.27f

enum soundlevel_t : int
enum soundlevel_t
{
SNDLVL_NONE = 0,

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c444095

Please sign in to comment.