mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
The engine holds the player's loot target as it sends CMSG_LOOT, and CanLootNow refuses every later loot while it is held. With no window open only a server reply clears it, so a request the server never answered locked looting until relog. LootAllCorpses while mounted hit this reliably: the engine's right-click skips looting while mounted, but FUN_CMSG_LOOT_UNIT has no such gate. All loot senders now go through Loot::Request, which refuses while mounted, reports whether the engine actually sent, and on timeout releases a still-held target the way the release response does. Fixes #113