diff options
author | megamage <none@none> | 2009-03-02 17:01:41 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-02 17:01:41 -0600 |
commit | c064c2e2e1eebd43b273365583dd181293bafa22 (patch) | |
tree | 8db7a9eaa19c5485b392881bc78e52ea3697bdc4 /src/game/Unit.cpp | |
parent | d7d7c3562a9e33f0d655b86572e7a73e0ee384a6 (diff) |
[7365] Implement potion in combat delay proper work. Author: VladimirMangos
Original patch provided by miranda.conrado.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c6170a2f18d..1002318f79e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9476,6 +9476,8 @@ void Unit::ClearInCombat() // Player's state will be cleared in Player::UpdateContestedPvP if(GetTypeId()!=TYPEID_PLAYER) clearUnitState(UNIT_STAT_ATTACK_PLAYER); + else + ((Player*)this)->UpdatePotionCooldown(); if(GetTypeId() != TYPEID_PLAYER && ((Creature*)this)->isPet()) { |