Changes missing from last commit.

This commit is contained in:
QAston
2011-05-31 20:28:36 +02:00
parent 7b5b95966e
commit 506fedcfea
2 changed files with 46 additions and 1 deletions

View File

@@ -345,7 +345,7 @@ class spell_ex_463 : public SpellScriptLoader
{
sLog->outString("Area aura checks if unit is a valid target for it!");
// in our script we allow only players to be affected
return target->GetTypeId == TYPEID_PLAYER;
return target->GetTypeId() == TYPEID_PLAYER;
}
void Register()
{