From c96cd28abebbaf6f12dfe4d68278ba40e23ad3f9 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 12 Oct 2024 19:30:48 -0700 Subject: [PATCH] Fix CSfxHandle --- include/Kyoto/Audio/CSfxHandle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }