[6995] Fixed spell casting with active auto-repeat ranged weapon.

This commit is contained in:
VladimirMangos 2008-12-31 16:09:49 +03:00
parent 948d76800d
commit 896b10e39a
2 changed files with 2 additions and 2 deletions

View file

@ -2050,7 +2050,7 @@ void Spell::prepare(SpellCastTargets * targets, Aura* triggeredByAura)
m_caster->m_Events.AddEvent(Event, m_caster->m_Events.CalculateTime(1));
//Prevent casting at cast another spell (ServerSide check)
if(m_caster->IsNonMeleeSpellCasted(false, true) && m_cast_count)
if(m_caster->IsNonMeleeSpellCasted(false, true, true) && m_cast_count)
{
SendCastResult(SPELL_FAILED_SPELL_IN_PROGRESS);
finish(false);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6994"
#define REVISION_NR "6995"
#endif // __REVISION_NR_H__