diff options
author | QAston <qaston@gmail.com> | 2012-04-28 14:53:40 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2012-04-28 14:55:14 +0200 |
commit | b899f5fc942902153ff369737ca835a997495299 (patch) | |
tree | afcfe621302c7566be003f1b9133cbd49d148a51 /src/server/scripts/Examples | |
parent | 4b5e763d21ea5f972d5d0d135b0b9a1907a7a46a (diff) |
Core/SpellScripts: rename GetTarget*() functions to GetExplTarget*(), so the names reflect better what those functions do. Also update some comments.
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 8c721c141af..70d7f43135c 100644 --- a/src/server/scripts/Examples/example_spell.cpp +++ b/src/server/scripts/Examples/example_spell.cpp @@ -102,7 +102,7 @@ class spell_ex_5581 : public SpellScriptLoader { // in this hook you can add additional requirements for spell caster (and throw a client error if reqs're not passed) // in this case we're disallowing to select non-player as a target of the spell - //if (!GetTargetUnit() || GetTargetUnit()->ToPlayer()) + //if (!GetExplTargetUnit() || GetExplTargetUnit()->ToPlayer()) //return SPELL_FAILED_BAD_TARGETS; return SPELL_CAST_OK; } |