mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
fix macOS build again
This commit is contained in:
parent
57f6bf6eea
commit
c444095293
@ -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,
|
||||
|
||||
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user