aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Spells/SpellInfo.h')
-rw-r--r--src/server/game/Spells/SpellInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.h b/src/server/game/Spells/SpellInfo.h
index 584c41fdddd..b79e50db001 100644
--- a/src/server/game/Spells/SpellInfo.h
+++ b/src/server/game/Spells/SpellInfo.h
@@ -24,6 +24,7 @@
class Unit;
class Player;
+class Item;
class Spell;
class SpellInfo;
struct SpellChainNode;
@@ -442,7 +443,7 @@ public:
SpellCastResult CheckShapeshift(uint32 form) const;
SpellCastResult CheckLocation(uint32 map_id, uint32 zone_id, uint32 area_id, Player const* player = NULL) const;
SpellCastResult CheckTarget(Unit const* caster, Unit const* target, bool implicit = true) const;
- SpellCastResult CheckExplicitTarget(Unit const* caster, WorldObject const* target) const;
+ SpellCastResult CheckExplicitTarget(Unit const* caster, WorldObject const* target, Item const* itemTarget = NULL) const;
bool CheckTargetCreatureType(Unit const* target) const;
SpellSchoolMask GetSchoolMask() const;