From 89a84127eba9e86319f66deec27f3c7a6b77e7c8 Mon Sep 17 00:00:00 2001 From: nos4r2zod Date: Sun, 23 Aug 2009 21:40:24 +0400 Subject: [PATCH] [8411] Fixed typos in recent spell stacking related comits. Signed-off-by: VladimirMangos --- src/game/SpellMgr.cpp | 2 ++ src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 9b27ec841..fc6d8bbf5 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -175,6 +175,7 @@ SpellSpecific GetSpellSpecific(uint32 spellId) if ((spellInfo->AttributesEx2 & SPELL_ATTR_EX2_FOOD_BUFF) || spellInfo->SpellIconID == 2560) return SPELL_WELL_FED; } + break; } case SPELLFAMILY_MAGE: { @@ -295,6 +296,7 @@ bool IsSingleFromSpellSpecificPerCaster(SpellSpecific spellSpec1,SpellSpecific s case SPELL_PRESENCE: case SPELL_HAND: case SPELL_WELL_FED: + return spellSpec1==spellSpec2; case SPELL_FOOD: return spellSpec2==SPELL_FOOD || spellSpec2==SPELL_FOOD_AND_DRINK; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1471f9a91..34ff53d61 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 "8410" + #define REVISION_NR "8411" #endif // __REVISION_NR_H__