aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <clickvd@gonnamakeyou.com>2011-05-13 16:28:41 +0200
committerclick <clickvd@gonnamakeyou.com>2011-05-13 16:28:41 +0200
commita40e33efe7e402331d4960b13ef634a1032abca8 (patch)
treee97ac80122007faa48380ecc566355b2f423998c
parent12fec6936173b4c62330dc04df5bb68a5706d655 (diff)
Fix a silly typo done in 0902bb0f2bd1
-rw-r--r--src/server/scripts/Spells/spell_item.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp
index 6b5f5d5a95e..554d2a727c4 100644
--- a/src/server/scripts/Spells/spell_item.cpp
+++ b/src/server/scripts/Spells/spell_item.cpp
@@ -1046,7 +1046,8 @@ class spell_item_ashbringer : public SpellScriptLoader
{
PreventHitDefaultEffect(effIndex);
- Unit* caster = GetCaster())
+ Unit* caster = GetCaster();
+
if (caster->GetTypeId() != TYPEID_PLAYER)
return;
if (Player* player = caster->ToPlayer())