mirror of https://github.com/PrimeDecomp/prime.git
Fix CSfxHandle
This commit is contained in:
parent
5b5c114bb6
commit
c96cd28abe
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue