aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Utilities/Util.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-01-10 22:39:08 +0100
committerjackpoz <giacomopoz@gmail.com>2014-01-10 22:39:08 +0100
commit8fcfabe784797fea46e25428492d9070adda1dc9 (patch)
treee1257c39ef71f38ed5be9f4ff8222833c393dbbe /src/server/shared/Utilities/Util.cpp
parent41b613186e06e3f41549912f91e68bafa3e8c059 (diff)
Core/Spells: Fix potions cooldown in combat
Fix a cooldown issue related to potions allowing Players in combat to use more than 1 potion in a row, especially with high latency. This also fixes an exploit about using infinite potions in combat just by skipping the client-side check. The original implementation c064c2e2e1eebd43b273365583dd181293bafa22 was missing a check in Spell::CheckCast() about this particular case since Potion cooldown is added only after the Player goes out of combat. Fixes #1259 .
Diffstat (limited to 'src/server/shared/Utilities/Util.cpp')
0 files changed, 0 insertions, 0 deletions