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 b01bd60 commit 96da9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/engine/audio/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define AUDIOSOURCE_CACHE_ROOTDIR "maps/soundcache"

class CSfxTable;
enum soundlevel_t : int;
enum soundlevel_t;
struct SoundInfo_t;
struct AudioState_t;
class IFileList;
Expand Down
1 change: 1 addition & 0 deletions public/soundflags.h
Original file line number Diff line number Diff line change
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 96da9fa

Please sign in to comment.