[7072] Fixed typo in prev commit. :/

This commit is contained in:
VladimirMangos 2009-01-12 02:02:28 +03:00
parent 76f7a25f2d
commit 16dc210e24
2 changed files with 2 additions and 2 deletions

View file

@ -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))))

View file

@ -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__