Core/Misc: Another typo fix
This commit is contained in:
@@ -2860,7 +2860,7 @@ void Unit::_UpdateSpells(uint32 time)
|
|||||||
void Unit::_UpdateAutoRepeatSpell()
|
void Unit::_UpdateAutoRepeatSpell()
|
||||||
{
|
{
|
||||||
// check "realtime" interrupts
|
// check "realtime" interrupts
|
||||||
if ((GetTypeId() == TYPEID_PLAYER && ToPlayer()) || IsNonMeleeSpellCasted(false, false, true, m_currentSpells[CURRENT_AUTOREPEAT_SPELL]->m_spellInfo->Id == 75))
|
if ((GetTypeId() == TYPEID_PLAYER && ToPlayer()->isMoving()) || IsNonMeleeSpellCasted(false, false, true, m_currentSpells[CURRENT_AUTOREPEAT_SPELL]->m_spellInfo->Id == 75))
|
||||||
{
|
{
|
||||||
// cancel wand shoot
|
// cancel wand shoot
|
||||||
if (m_currentSpells[CURRENT_AUTOREPEAT_SPELL]->m_spellInfo->Id != 75)
|
if (m_currentSpells[CURRENT_AUTOREPEAT_SPELL]->m_spellInfo->Id != 75)
|
||||||
|
|||||||
Reference in New Issue
Block a user