Display rank 0 when character has no rank points (#737)

This commit is contained in:
GuybrushGit
2017-11-25 07:16:45 +00:00
committed by bladez
parent 8060551783
commit d7ee1f24ca
-7
View File
@@ -896,14 +896,7 @@ HonorRankInfo HonorMgr::CalculateRank(float rankPoints, uint32 totalHK)
// rank none
if (rankPoints == 0)
{
if (totalHK >= sWorld.getConfig(CONFIG_UINT32_MIN_HONOR_KILLS))
{
prk.rank = NEGATIVE_HONOR_RANK_COUNT + 1;
CalculateRankInfo(prk);
}
return prk;
}
prk.positive = rankPoints > 0;
if (!prk.positive)