diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index c440aee50..1203b2653 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2770,8 +2770,8 @@ void Spell::finish(bool ok) ((Player*)m_caster)->ClearComboPoints(); } - // mana/health potions, disabled by client, send event "not in combat" - if (m_caster->GetTypeId() == TYPEID_PLAYER && m_spellInfo->Category == SPELLCATEGORY_HEALTH_MANA_POTIONS) + // potions disabled by client, send event "not in combat" if need + if (m_caster->GetTypeId() == TYPEID_PLAYER) ((Player*)m_caster)->UpdatePotionCooldown(this); // call triggered spell only at successful cast (after clear combo points -> for add some if need) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 6597e9892..1504b5a01 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 "7461" + #define REVISION_NR "7462" #endif // __REVISION_NR_H__