aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Examples
diff options
context:
space:
mode:
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()
{