Core/Loot: Looting should interrupt casting, fixes issue 3676.

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-13 04:02:57 +03:00
parent b7b1efa4c1
commit fef504e365
@@ -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)