From 16dc210e249f61492140e66c627bd64d83819131 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 12 Jan 2009 02:02:28 +0300 Subject: [PATCH] [7072] Fixed typo in prev commit. :/ --- src/game/Player.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 2b13be292..5893d43ed 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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 40122: need_cast = (m_form == FORM_FLIGHT_EPIC); break; // 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 if (need_cast && (!spellInfo->CasterAuraState || HasAuraState(AuraState(spellInfo->CasterAuraState)))) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index be06bdeeb..db52acd82 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7071" + #define REVISION_NR "7072" #endif // __REVISION_NR_H__