Core/Misc: Coding standard

(cherry picked from commit 3016783595)
This commit is contained in:
Aokromes
2016-07-06 17:46:31 +02:00
committed by joschiwald
parent a5f21b4c62
commit 4cdd8e048c

View File

@@ -715,7 +715,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));