diff options
author | QAston <qaston@gmail.com> | 2011-05-31 20:28:36 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-05-31 20:28:36 +0200 |
commit | 506fedcfea058920f4580a0c77b14e7d7b508b14 (patch) | |
tree | 20d80e1cecbf26a7ae19ac56f7a737f09afd11fb /src/server/scripts/Examples | |
parent | 7b5b95966e8a101c84ccef8b9d37740062eefa4c (diff) |
Changes missing from last commit.
Diffstat (limited to 'src/server/scripts/Examples')
-rw-r--r-- | src/server/scripts/Examples/example_spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Examples/example_spell.cpp b/src/server/scripts/Examples/example_spell.cpp index 82808bb79c3..453a9414234 100644 --- a/src/server/scripts/Examples/example_spell.cpp +++ b/src/server/scripts/Examples/example_spell.cpp @@ -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() { |