aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Examples
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-05-31 20:28:36 +0200
committerQAston <qaston@gmail.com>2011-05-31 20:28:36 +0200
commit506fedcfea058920f4580a0c77b14e7d7b508b14 (patch)
tree20d80e1cecbf26a7ae19ac56f7a737f09afd11fb /src/server/scripts/Examples
parent7b5b95966e8a101c84ccef8b9d37740062eefa4c (diff)
Changes missing from last commit.
Diffstat (limited to 'src/server/scripts/Examples')
-rw-r--r--src/server/scripts/Examples/example_spell.cpp2
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()
{