aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-09 17:44:59 -0600
committermegamage <none@none>2009-03-09 17:44:59 -0600
commit7b43f68ff78bb626b5c842f1cf904b7639131da1 (patch)
tree90e6f991eeec8f7678da3afcca1d6a247bdac501 /src/game/SpellEffects.cpp
parent1131953fa1a9e892bdd30621ce0cf8d0bb740b60 (diff)
[7419] Fixed some type convertion warnings. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-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 1f143bacf88..349051b727a 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1393,7 +1393,7 @@ void Spell::EffectDummy(uint32 i)
if (m_spellInfo->SpellFamilyFlags[0] & 0x40000)
{
// In 303 exist spirit depend
- uint32 spirit = m_caster->GetStat(STAT_SPIRIT);
+ uint32 spirit = uint32(m_caster->GetStat(STAT_SPIRIT));
switch (m_spellInfo->Id)
{
case 1454: damage+=spirit; break;