From: warwick Date: Mon, 21 Jan 2002 05:15:06 +0000 (+0000) Subject: Player selection fix on Qt windowport. X-Git-Tag: MOVE2GIT~3406 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58b5454a35fff1cea49b8fee94059dc4df4876e4;p=nethack Player selection fix on Qt windowport. Prompt for player details even if gender or alignment is unspecified. --- diff --git a/win/Qt/qt_win.cpp b/win/Qt/qt_win.cpp index 6716c9b78..5d1660a9f 100644 --- a/win/Qt/qt_win.cpp +++ b/win/Qt/qt_win.cpp @@ -1091,6 +1091,7 @@ NetHackQtPlayerSelector::NetHackQtPlayerSelector(NetHackQtKeyBuffer& ks) : int g = flags.initgend; if (g == -1) { g = rn2(ROLE_GENDERS); + fully_specified_role = FALSE; } while (!validgend(ro,ra,g)) { g = rn2(ROLE_GENDERS); @@ -1101,6 +1102,7 @@ NetHackQtPlayerSelector::NetHackQtPlayerSelector(NetHackQtKeyBuffer& ks) : int a = flags.initalign; if (a == -1) { a = rn2(ROLE_ALIGNS); + fully_specified_role = FALSE; } while (!validalign(ro,ra,a)) { a = rn2(ROLE_ALIGNS);