[9503] Updated behavior of auto shot according to the client changes.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
pasdVn 2010-03-02 22:09:00 +01:00 committed by ApoC
parent ab74b20006
commit 53623696cc
4 changed files with 28 additions and 19 deletions

View file

@ -494,9 +494,9 @@ void WorldSession::HandleCancelGrowthAuraOpcode( WorldPacket& /*recvPacket*/)
void WorldSession::HandleCancelAutoRepeatSpellOpcode( WorldPacket& /*recvPacket*/)
{
// may be better send SMSG_CANCEL_AUTO_REPEAT?
// cancel and prepare for deleting
_player->m_mover->InterruptSpell(CURRENT_AUTOREPEAT_SPELL);
// do not send SMSG_CANCEL_AUTO_REPEAT! client will send this Opcode again (loop)
_player->m_mover->InterruptSpell(CURRENT_AUTOREPEAT_SPELL, true, false);
}
void WorldSession::HandleCancelChanneling( WorldPacket & recv_data)