aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 a5da4e0fe78..1e2ac245aeb 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3890,7 +3890,8 @@ uint8 Spell::CanCast(bool strict)
SkillValue = 0;
// add the damage modifier from the spell casted (cheat lock / skeleton key etc.) (use m_currentBasePoints, CalculateDamage returns wrong value)
- SkillValue += m_currentBasePoints[i]/*+1*/;
+ // TODO: is this a hack?
+ SkillValue += m_currentBasePoints[i]+1;
// get the required lock value
int32 ReqValue=0;