diff options
| author | Gyx <2359980687@qq.com> | 2012-03-16 20:57:13 +0800 |
|---|---|---|
| committer | Gyx <2359980687@qq.com> | 2012-03-16 20:57:13 +0800 |
| commit | e5afa4a950a2de40fd84f0e0fb1cc14468041087 (patch) | |
| tree | 423750942cf9930b1b4b8c6ce3cf7850f621489e /src/server/scripts/Spells | |
| parent | cd38e7df2ba09b20f1ea8d778e9b6fe1e0365740 (diff) | |
Core/Script: Clean-Up in Scripts.
Item* pItem -> Item* item
Signed-off-by: Gyx <2359980687@qq.com>
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 079221a97e8..f2f2f9e3cdd 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -55,8 +55,8 @@ class spell_item_trigger_spell : public SpellScriptLoader void HandleDummy(SpellEffIndex /*effIndex*/) { Unit* caster = GetCaster(); - if (Item* pItem = GetCastItem()) - caster->CastSpell(caster, _triggeredSpellId, true, pItem); + if (Item* item = GetCastItem()) + caster->CastSpell(caster, _triggeredSpellId, true, item); } void Register() |
