aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorSpp- <spp@jorge.gr>2011-09-13 14:15:35 +0200
committerSpp- <spp@jorge.gr>2011-09-13 14:15:35 +0200
commit33ce07bdde6a6dfc4c60971c1a7ec8e0c9c9aafe (patch)
tree1559ab0a47e3954884e87878c66c88a3c47c1960 /src/server/scripts/Spells
parentd99db2ba279d5f723fa6ae42e1efa1d60b1a6765 (diff)
Core: Minor cleanups (here and there)
- Fix warning - Fix some typos - Correct upper 'for' limit in LoadSkillLineAbilityMap - Remove use of magic number in a query related to security levels
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
index 16d147a4000..3613b97ec5c 100644
--- a/src/server/scripts/Spells/spell_hunter.cpp
+++ b/src/server/scripts/Spells/spell_hunter.cpp
@@ -76,7 +76,7 @@ public:
Unit* caster = GetCaster();
if (caster->ToPlayer())
- if (Pet* pet = caster->ToPlayer()->GetPet())
+ if (caster->ToPlayer()->GetPet())
caster->CastSpell(caster, HUNTER_SPELL_ASPECT_OF_THE_BEAST_PET, true);
}