Mercurial > hg > openttd
changeset 7754:0acb5272ec27 draft
(svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 18 Oct 2007 20:34:09 +0000 |
parents | 030026e5828d |
children | 2ee2ce82e2d6 |
files | src/player_face.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/player_face.h +++ b/src/player_face.h @@ -193,7 +193,7 @@ */ static inline void RandomPlayerFaceBits(PlayerFace &pf, GenderEthnicity ge, bool adv) { - pf = Random(); // random all player face bits + pf = InteractiveRandom(); // random all player face bits /* scale ge: 0 == GE_WM, 1 == GE_WF, 2 == GE_BM, 3 == GE_BF (and maybe in future: ...) */ ge = (GenderEthnicity)((uint)ge % GE_END);