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 | 8e3e055248277ec4239619360e64f9f098ba276f (patch) | |
tree | 2baf7bff1bededb925348234db00e5779eca8d32 /src | |
parent | c865b9f566f2c9737680659da7bdf37d3bc0a9fd (diff) | |
download | openttd-8e3e055248277ec4239619360e64f9f098ba276f.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 { |