Core/Party: Implement Raid Marker

By ArkCORE
This commit is contained in:
Aokromes committed 2017-01-24 00:02:29 +01:00
1 parent 8007ba5aea
commit efce128b66
9 files changed
+79 -2

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
caster = _player;
}
if (caster->GetTypeId() == TYPEID_PLAYER && !caster->ToPlayer()->HasActiveSpell(spellInfo->Id))
if (caster->GetTypeId() == TYPEID_PLAYER && !caster->ToPlayer()->HasActiveSpell(spellInfo->Id) && !spellInfo->IsRaidMarker())
{
// not have spell in spellbook
recvPacket.rfinish(); // prevent spam at ignore packet