diff options
author | tron <tron@openttd.org> | 2005-11-15 08:49:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 08:49:46 +0000 |
commit | 1b0091e0d29a59811522758c00b690f4f07b471b (patch) | |
tree | 5408c5fefb49e90fec95ad27d0438500262d43c0 /player_gui.c | |
parent | 86585602294b7273d5cd0df34a3f6794258a62bb (diff) | |
download | openttd-1b0091e0d29a59811522758c00b690f4f07b471b.tar.xz |
(svn r3184) GB/SB
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c index eba18b143..3d97a2612 100644 --- a/player_gui.c +++ b/player_gui.c @@ -342,7 +342,7 @@ static void SelectPlayerFaceWndProc(Window *w, WindowEvent *e) SetWindowDirty(w); break; case 7: - WP(w,facesel_d).face = (InteractiveRandom() & 0x7FFFFFFF) + (WP(w,facesel_d).gender << 31); + WP(w,facesel_d).face = (WP(w,facesel_d).gender << 31) + GB(InteractiveRandom(), 0, 31); SetWindowDirty(w); break; } |