mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7072] Fixed typo in prev commit. :/
This commit is contained in:
parent
76f7a25f2d
commit
16dc210e24
2 changed files with 2 additions and 2 deletions
|
|
@ -2739,7 +2739,7 @@ bool Player::addSpell(uint32 spell_id, bool active, bool learning, bool disabled
|
||||||
case 40121: need_cast = (m_form == FORM_FLIGHT_EPIC); break;
|
case 40121: need_cast = (m_form == FORM_FLIGHT_EPIC); break;
|
||||||
case 40122: need_cast = (m_form == FORM_FLIGHT_EPIC); break;
|
case 40122: need_cast = (m_form == FORM_FLIGHT_EPIC); break;
|
||||||
// another spells have proper stance data
|
// another spells have proper stance data
|
||||||
default: need_cast = !spellInfo->Stances && m_form != 0 && (spellInfo->Stances & (1<<(m_form-1))); break;
|
default: need_cast = !spellInfo->Stances || m_form != 0 && (spellInfo->Stances & (1<<(m_form-1))); break;
|
||||||
}
|
}
|
||||||
//Check CasterAuraStates
|
//Check CasterAuraStates
|
||||||
if (need_cast && (!spellInfo->CasterAuraState || HasAuraState(AuraState(spellInfo->CasterAuraState))))
|
if (need_cast && (!spellInfo->CasterAuraState || HasAuraState(AuraState(spellInfo->CasterAuraState))))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7071"
|
#define REVISION_NR "7072"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue