From 2e92ec903c0af13f26db59224c6ab8c3b1e2dfcc Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 11 Mar 2026 20:21:37 -0700 Subject: [PATCH] Fix SMSG_ITEM_COOLDOWN missing cooldownTotal for sweep animation SMSG_ITEM_COOLDOWN (on-use trinket/item cooldowns) was only setting cooldownRemaining, leaving cooldownTotal=0. The action bar clock-sweep overlay requires both fields; without cooldownTotal the fan shrinks instantly rather than showing the correct elapsed arc. --- src/game/game_handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 2b29ef80..b84edf19 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -2870,6 +2870,7 @@ void GameHandler::handlePacket(network::Packet& packet) { spellCooldowns[spellId] = cdSec; for (auto& slot : actionBar) { if (slot.type == ActionBarSlot::SPELL && slot.id == spellId) { + slot.cooldownTotal = cdSec; slot.cooldownRemaining = cdSec; } }