aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-25 19:47:07 -0600
committermegamage <none@none>2008-12-25 19:47:07 -0600
commit56f8b5ee84129d775fb291b0baa062717e6faead (patch)
tree0021b0577fe5356d8b48d5676770951437e879c7 /src
parent6e784a14fdd298216969f7726645d474bc5c4151 (diff)
*Fix mining.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 7b591306c89..f4bf1af0180 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2916,7 +2916,7 @@ void Spell::EffectOpenLock(uint32 /*i*/)
SkillId = SKILL_LOCKPICKING;
// skill bonus provided by casting spell (mostly item spells)
- uint32 spellSkillBonus = uint32(m_currentBasePoints[0]/*+1*/);
+ uint32 spellSkillBonus = uint32(damage/*m_currentBasePoints[0]+1*/);
uint32 reqSkillValue = lockInfo->requiredminingskill;