[9867] Prevent another potion drink until combat end.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zhenya 2010-05-11 11:19:10 +04:00 committed by VladimirMangos
parent 3a2c28ca68
commit fd131fb408
4 changed files with 10 additions and 2 deletions

View file

@ -18746,7 +18746,7 @@ void Player::SendCooldownEvent(SpellEntry const *spellInfo, uint32 itemId, Spell
void Player::UpdatePotionCooldown(Spell* spell)
{
// no potion used i combat or still in combat
// no potion used in combat or still in combat
if(!m_lastPotionId || isInCombat())
return;