Fix a silly typo done in 0902bb0f2b

This commit is contained in:
click
2011-05-13 16:28:41 +02:00
parent 12fec69361
commit a40e33efe7
+2 -1
View File
@@ -1046,7 +1046,8 @@ class spell_item_ashbringer : public SpellScriptLoader
{ {
PreventHitDefaultEffect(effIndex); PreventHitDefaultEffect(effIndex);
Unit* caster = GetCaster()) Unit* caster = GetCaster();
if (caster->GetTypeId() != TYPEID_PLAYER) if (caster->GetTypeId() != TYPEID_PLAYER)
return; return;
if (Player* player = caster->ToPlayer()) if (Player* player = caster->ToPlayer())