Core/Spells: Fixed "unprocessed tail data" packet spam for CMSG_CAST_SPELL
--HG-- branch : trunk
This commit is contained in:
@@ -375,7 +375,10 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
|
||||
// Skip it to prevent "interrupt" message
|
||||
if (IsAutoRepeatRangedSpell(spellInfo) && _player->GetCurrentSpell(CURRENT_AUTOREPEAT_SPELL)
|
||||
&& _player->GetCurrentSpell(CURRENT_AUTOREPEAT_SPELL)->m_spellInfo == spellInfo)
|
||||
{
|
||||
recvPacket.rfinish();
|
||||
return;
|
||||
}
|
||||
|
||||
// can't use our own spells when we're in possession of another unit,
|
||||
if (_player->isPossessing())
|
||||
|
||||
Reference in New Issue
Block a user