diff options
author | rubidium <rubidium@openttd.org> | 2007-03-20 16:43:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-20 16:43:20 +0000 |
commit | f64f9fad4f581ed5ebb274e48e6fdc7a4839fb21 (patch) | |
tree | 2baf7bff1bededb925348234db00e5779eca8d32 /src | |
parent | d384260ba5a1c97a814ed4f3004c08243495c624 (diff) | |
download | openttd-f64f9fad4f581ed5ebb274e48e6fdc7a4839fb21.tar.xz |
(svn r9377) -Fix (r9376): the off-by-one error was also present at another location :(
Diffstat (limited to 'src')
-rw-r--r-- | src/players.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/players.cpp b/src/players.cpp index 1da49754e..fcac79415 100644 --- a/src/players.cpp +++ b/src/players.cpp @@ -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 { |