Fix CSfxHandle

This commit is contained in:
Phillip Stephens 2024-10-12 19:30:48 -07:00
parent 5b5c114bb6
commit c96cd28abe
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ public:
CSfxHandle() : mID(0) {} CSfxHandle() : mID(0) {}
CSfxHandle(uint value); CSfxHandle(uint value);
int GetIndex() const { return mID & 0xFF; } int GetIndex() const { return mID & 0xFFF; }
static CSfxHandle NullHandle() { return CSfxHandle(); } static CSfxHandle NullHandle() { return CSfxHandle(); }
void operator=(const CSfxHandle& other) { mID = other.mID; } void operator=(const CSfxHandle& other) { mID = other.mID; }
const bool operator==(const CSfxHandle& other) const { return mID == other.mID; } const bool operator==(const CSfxHandle& other) const { return mID == other.mID; }