From 84a16a0b30c3c8f1df9a3e9fa8c2bb1e88199403 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 15 Nov 2005 08:49:46 +0000 Subject: (svn r3184) GB/SB --- player_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player_gui.c') 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; } -- cgit v1.2.3-54-g00ecf