mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +00:00
(svn r9377) -Fix (r9376): the off-by-one error was also present at another location :(
This commit is contained in:
parent
c865b9f566
commit
8e3e055248
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user