Core/Misc: Coding standard

This commit is contained in:
Aokromes
2016-07-06 17:46:31 +02:00
committed by GitHub
parent a832865ce2
commit 3016783595

View File

@@ -751,7 +751,7 @@ void Pet::GivePetLevel(uint8 level)
if (!level || level == getLevel())
return;
if (getPetType()==HUNTER_PET)
if (getPetType() == HUNTER_PET)
{
SetUInt32Value(UNIT_FIELD_PETEXPERIENCE, 0);
SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, uint32(sObjectMgr->GetXPForLevel(level)*PET_XP_FACTOR));