Core/Loot: Looting should interrupt casting, fixes issue 3676.
--HG-- branch : trunk
This commit is contained in:
@@ -199,6 +199,10 @@ void WorldSession::HandleLootOpcode(WorldPacket & recv_data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
GetPlayer()->SendLoot(guid, LOOT_CORPSE);
|
GetPlayer()->SendLoot(guid, LOOT_CORPSE);
|
||||||
|
|
||||||
|
// interrupt cast
|
||||||
|
if (GetPlayer()->IsNonMeleeSpellCasted(false))
|
||||||
|
GetPlayer()->InterruptNonMeleeSpells(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::HandleLootReleaseOpcode(WorldPacket & recv_data)
|
void WorldSession::HandleLootReleaseOpcode(WorldPacket & recv_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user