diff --git a/include/Kyoto/Audio/CSfxHandle.hpp b/include/Kyoto/Audio/CSfxHandle.hpp index 01d27a5a..b1b72f34 100644 --- a/include/Kyoto/Audio/CSfxHandle.hpp +++ b/include/Kyoto/Audio/CSfxHandle.hpp @@ -8,7 +8,7 @@ public: CSfxHandle() : mID(0) {} CSfxHandle(uint value); - int GetIndex() const { return mID & 0xFF; } + int GetIndex() const { return mID & 0xFFF; } static CSfxHandle NullHandle() { return CSfxHandle(); } void operator=(const CSfxHandle& other) { mID = other.mID; } const bool operator==(const CSfxHandle& other) const { return mID == other.mID; }