aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/Server/Protocol/Handlers/LootHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/LootHandler.cpp b/src/server/game/Server/Protocol/Handlers/LootHandler.cpp
index b2345dfab4f..ca4af9fee27 100644
--- a/src/server/game/Server/Protocol/Handlers/LootHandler.cpp
+++ b/src/server/game/Server/Protocol/Handlers/LootHandler.cpp
@@ -199,6 +199,10 @@ void WorldSession::HandleLootOpcode(WorldPacket & recv_data)
return;
GetPlayer()->SendLoot(guid, LOOT_CORPSE);
+
+ // interrupt cast
+ if (GetPlayer()->IsNonMeleeSpellCasted(false))
+ GetPlayer()->InterruptNonMeleeSpells(false);
}
void WorldSession::HandleLootReleaseOpcode(WorldPacket & recv_data)