diff options
| author | Shauren <none@none> | 2010-12-22 21:32:48 +0100 |
|---|---|---|
| committer | Shauren <none@none> | 2010-12-22 21:32:48 +0100 |
| commit | cef7c4d4f3e703bd0a0619c8030b7d1a9c0d3593 (patch) | |
| tree | 06fc18231294a6e03a64ab623617c22e0a6409d7 | |
| parent | b1ded4bd98a61666fed8367ae8a16bab732cc327 (diff) | |
Core/Spells: Fixed "unprocessed tail data" packet spam for CMSG_CAST_SPELL
--HG--
branch : trunk
| -rwxr-xr-x | src/server/game/Server/Protocol/Handlers/SpellHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/SpellHandler.cpp b/src/server/game/Server/Protocol/Handlers/SpellHandler.cpp index c74c867c232..b84ee549fdc 100755 --- a/src/server/game/Server/Protocol/Handlers/SpellHandler.cpp +++ b/src/server/game/Server/Protocol/Handlers/SpellHandler.cpp @@ -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()) |
