aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Kalimdor
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2012-04-28 14:53:40 +0200
committerQAston <qaston@gmail.com>2012-04-28 14:55:14 +0200
commitb899f5fc942902153ff369737ca835a997495299 (patch)
treeafcfe621302c7566be003f1b9133cbd49d148a51 /src/server/scripts/Kalimdor
parent4b5e763d21ea5f972d5d0d135b0b9a1907a7a46a (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/Kalimdor')
-rw-r--r--src/server/scripts/Kalimdor/dustwallow_marsh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/dustwallow_marsh.cpp
index cbacc4fdf66..e4ed3793385 100644
--- a/src/server/scripts/Kalimdor/dustwallow_marsh.cpp
+++ b/src/server/scripts/Kalimdor/dustwallow_marsh.cpp
@@ -713,7 +713,7 @@ class spell_ooze_zap : public SpellScriptLoader
if (!GetCaster()->HasAura(GetSpellInfo()->Effects[EFFECT_1].CalcValue()))
return SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW; // This is actually correct
- if (!GetTargetUnit())
+ if (!GetExplTargetUnit())
return SPELL_FAILED_BAD_TARGETS;
return SPELL_CAST_OK;