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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user