(svn r9377) -Fix (r9376): the off-by-one error was also present at another location :(

This commit is contained in:
rubidium 2007-03-20 16:43:20 +00:00
parent c865b9f566
commit 8e3e055248
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ PlayerFace ConvertFromOldPlayerFace(uint32 face)
SetPlayerFaceBits(pf, PFV_MOUSTACHE, ge, max(lips, 1U) - 1);
} else {
if (!HASBIT(ge, GENDER_FEMALE)) {
lips = lips * 15 / 16;
lips -= 3;
if (HASBIT(ge, ETHNICITY_BLACK) && lips > 8) lips = 0;
} else {