diff options
author | rubidium <rubidium@openttd.org> | 2007-10-18 20:34:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-18 20:34:09 +0000 |
commit | 4ce24d8a4044086c809d21ccfed63da9212258fc (patch) | |
tree | 0283466a5d8e1e48e2073a9f7d4663bb1793a407 /src | |
parent | f034036ef413672b1f625f433cea268fde5f1db8 (diff) | |
download | openttd-4ce24d8a4044086c809d21ccfed63da9212258fc.tar.xz |
(svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ.
Diffstat (limited to 'src')
-rw-r--r-- | src/player_face.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_face.h b/src/player_face.h index 471522223..f28a880f6 100644 --- a/src/player_face.h +++ b/src/player_face.h @@ -193,7 +193,7 @@ static inline void ScaleAllPlayerFaceBits(PlayerFace &pf) */ 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); |