adding forgotten UpdateCharacterNameDataLevel call

This commit is contained in:
tibbi committed 2012-10-08 20:02:11 +01:00
1 parent 405c3b09aa
commit 05eaf75501
1 file changed
+3
+3
View File
@@ -13661,6 +13661,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)