(svn r3184) GB/SB

This commit is contained in:
tron
2005-11-15 08:49:46 +00:00
parent ba9157fbbc
commit 84a16a0b30
7 changed files with 13 additions and 13 deletions

View File

@@ -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;
}