aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-06-23 13:28:52 +0200
committerQAston <qaston@gmail.com>2011-06-23 13:28:52 +0200
commit3137a82c7cedb71f4a8ef06cb2d6e5741af65c9b (patch)
tree2c2345632592f55129ddd931e8b97391b0e2efb8 /src/server/game/Spells/SpellScript.h
parent9d9472e5cc2f761fbc93f8f0e87903898bf48b91 (diff)
Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters - Move IsQuestTameSpell function to SpellMgr.h - Move UnitList typedef to Unit.h Additionally - add missing copyright notice to SpellAuraEffects.h
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rwxr-xr-xsrc/server/game/Spells/SpellScript.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 4b0709b74e3..5c5050aef21 100755
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -261,7 +261,9 @@ class SpellScript : public _SpellScript
// accessors to the "focus" targets of the spell
// note: do not confuse these with spell hit targets
// returns: WorldLocation which was selected as a spell destination or NULL
- WorldLocation* GetTargetDest();
+ WorldLocation const* GetTargetDest();
+
+ void SetTargetDest(WorldLocation& loc);
// returns: Unit which was selected as a spell target or NULL
Unit* GetTargetUnit();