From 506fedcfea058920f4580a0c77b14e7d7b508b14 Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 31 May 2011 20:28:36 +0200 Subject: Changes missing from last commit. --- src/server/scripts/Examples/example_spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Examples') 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() { -- cgit v1.2.3