diff options
| author | Shocker <shocker@freakz.ro> | 2011-06-23 23:43:49 +0300 |
|---|---|---|
| committer | Shocker <shocker@freakz.ro> | 2011-06-23 23:43:49 +0300 |
| commit | 5ddf90c5fe8e51a72697fea5b483b0138bf0d308 (patch) | |
| tree | 9ed971d639a07c7ff63d6618078a0f9e95b01188 /src/server/game/Spells/Spell.h | |
| parent | c33dbded94ea07d3ad51b6206372e390e9b65d0b (diff) | |
Core/Spells: Don't allow players to cast client-side hidden spells directly
Diffstat (limited to 'src/server/game/Spells/Spell.h')
| -rwxr-xr-x | src/server/game/Spells/Spell.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.h b/src/server/game/Spells/Spell.h index ddb700aa8ab..9a5b98efaa4 100755 --- a/src/server/game/Spells/Spell.h +++ b/src/server/game/Spells/Spell.h @@ -386,7 +386,7 @@ class Spell typedef std::set<Aura*> UsedSpellMods; - Spell(Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, bool skipCheck = false); + Spell(Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, bool skipCheck = false, bool castedClientside = false); ~Spell(); void prepare(SpellCastTargets const* targets, AuraEffect const* triggeredByAura = NULL); @@ -683,6 +683,7 @@ class Spell uint32 m_timer; bool m_IsTriggeredSpell; + bool m_castedClientside; // if need this can be replaced by Aura copy // we can't store original aura link to prevent access to deleted auras |
