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
This commit is contained in:
Spp-
2011-09-13 14:15:35 +02:00
parent d99db2ba27
commit 33ce07bdde
7 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -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);
}