Cured who list bug where mortals didn't show

This commit is contained in:
JamDog
2010-11-26 22:47:45 +00:00
parent 7bff0f37ad
commit 86f83bcc57
2 changed files with 5 additions and 2 deletions

View File

@@ -1251,9 +1251,11 @@ ACMD(do_who)
for (i = 0; *rank[i].disp != '\n'; i++)
if (GET_ADMLEVEL(tch) >= rank[i].min_level && GET_ADMLEVEL(tch) <= rank[i].max_level) {
if (rank[i].min_level >= ADMLVL_IMMORT && !PRF_FLAGGED(tch, PRF_MORTAL))
rank[i].count++;
rank[i].count++; /* Add 'real' admins */
else if (rank[i].max_level < ADMLVL_IMMORT)
rank[i].count++; /* Add 'real' mortals */
} else if (rank[i].max_level < ADMLVL_IMMORT && PRF_FLAGGED(tch, PRF_MORTAL))
rank[i].count++;
rank[i].count++; /* Add 'fake' mortals */
}
}