summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-18 20:34:09 +0000
committerrubidium <rubidium@openttd.org>2007-10-18 20:34:09 +0000
commite0461fcd6a5223662233036bf3c66eda1b634c82 (patch)
tree0283466a5d8e1e48e2073a9f7d4663bb1793a407 /src
parent1043cc5e1d6fdd544f154429bd7d012296a9946b (diff)
downloadopenttd-e0461fcd6a5223662233036bf3c66eda1b634c82.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.h2
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);