Hunter Pets and RATE_TALENT (Pet.cpp)

I have a suggestion to add to Pet.cpp a way of applying the worldserver.conf RATE_TALENT to hunter pets as well.

I don’t know how to officially post it but here’s the change:

Pet.cpp

uint8 Pet::GetMaxTalentPointsForLevel(uint8 level)

{
uint8 points = (level >= 20) ? ((level - 16) / 4) : 0;
// Mod points from owner SPELL_AURA_MOD_PET_TALENT_POINTS
if (Unit* owner = GetOwner())
{
points*=sWorld->getRate(RATE_TALENT); // Apply worldserver.conf RATE_TALENT value
points+=owner->GetTotalAuraModifier(SPELL_AURA_MOD_PET_TALENT_POINTS);
}

return points;

}

Edit: Added { } whoops.