aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 033eb934504..49a70082c35 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4696,7 +4696,8 @@ uint8 Spell::CheckRange(bool strict)
{
if(range_type == SPELL_RANGE_MELEE)
{
- if(!m_caster->IsWithinMeleeRange(target, max_range - 2*MIN_MELEE_REACH))
+ // Because of lag, we can not check too strictly here.
+ if(!m_caster->IsWithinMeleeRange(target, max_range/* - 2*MIN_MELEE_REACH*/))
return SPELL_FAILED_OUT_OF_RANGE;
}
else if(!m_caster->IsWithinCombatRange(target, max_range))