aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-21 02:36:39 -0800
committermaximius <none@none>2009-11-21 02:36:39 -0800
commita633b03738bcebfface6098390b088d941bc26f5 (patch)
treef988b87d191e89e3564ac13b9fd6011e5aa5dcdf /src/game/SpellEffects.cpp
parent28113e14f26b62d56b888a877fd1be58e28f7f36 (diff)
*Fix Rod and Blade of the Unyielding spawning to many NPCs, by destros. Closes #3
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index bcd1634ec1c..c3c6f0cbfd4 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1608,7 +1608,7 @@ void Spell::EffectDummy(uint32 i)
uint32 hurt = 0;
uint32 heal = 0;
- switch(m_spellInfo->Id)
+ switch (m_spellInfo->Id)
{
case 47540: hurt = 47758; heal = 47757; break;
case 53005: hurt = 53001; heal = 52986; break;
@@ -1789,10 +1789,10 @@ void Spell::EffectDummy(uint32 i)
if (!unitTarget)
return;
- int hurt = 0;
- int heal = 0;
+ uint32 hurt = 0;
+ uint32 heal = 0;
- switch(m_spellInfo->Id)
+ switch (m_spellInfo->Id)
{
case 20473: hurt = 25912; heal = 25914; break;
case 20929: hurt = 25911; heal = 25913; break;
@@ -1802,7 +1802,7 @@ void Spell::EffectDummy(uint32 i)
case 48824: hurt = 48822; heal = 48820; break;
case 48825: hurt = 48823; heal = 48821; break;
default:
- sLog.outError("Spell::EffectDummy: Spell %u not handled in HS",m_spellInfo->Id);
+ sLog.outError("Spell::EffectDummy: Spell %u not handled in Holy Shock",m_spellInfo->Id);
return;
}