From 58b5454a35fff1cea49b8fee94059dc4df4876e4 Mon Sep 17 00:00:00 2001 From: warwick Date: Mon, 21 Jan 2002 05:15:06 +0000 Subject: [PATCH] Player selection fix on Qt windowport. Prompt for player details even if gender or alignment is unspecified. --- win/Qt/qt_win.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.50.1