Merge pull request #8001 from tibbi/reputation_convert

correct reputation converting at faction change
This commit is contained in:
Subv committed 2012-10-10 06:43:47 -07:00
commit ef6e7e0914
10 files changed
+97 -20

No files matched your search

+3
View File
@@ -13659,6 +13659,9 @@ void Unit::SetLevel(uint8 lvl)
// group update
if (GetTypeId() == TYPEID_PLAYER && ToPlayer()->GetGroup())
ToPlayer()->SetGroupUpdateFlag(GROUP_UPDATE_FLAG_LEVEL);
if (GetTypeId() == TYPEID_PLAYER)
sWorld->UpdateCharacterNameDataLevel(ToPlayer()->GetGUIDLow(), lvl);
}
void Unit::SetHealth(uint32 val)