Core/SpellScripts: rename GetTarget*() functions to GetExplTarget*(), so the names reflect better what those functions do. Also update some comments.
This commit is contained in:
1 parent
4b5e763d21
commit
b899f5fc94
22 files changed
+68
-55
No files matched your search
@@ -301,8 +301,8 @@ class spell_warl_seed_of_corruption : public SpellScriptLoader
|
||||
|
||||
void FilterTargets(std::list<Unit*>& unitList)
|
||||
{
|
||||
if (GetTargetUnit())
|
||||
unitList.remove(GetTargetUnit());
|
||||
if (GetExplTargetUnit())
|
||||
unitList.remove(GetExplTargetUnit());
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in new issue
Block a user