curse candelabrum in bones, like other similar artifacts
detecting a trap in a chest while confused should not exercise wisdom
any golem statue hit with stone-to-flesh spell animates as flesh golem
+correct invalid startup gender selection
Platform- and/or Interface-Specific Fixes
if (!validrace(flags.initrole, flags.initrace))
flags.initrace = randrace(flags.initrole);
- /* Check for a valid gender. Try flags.igend first. */
+ /* Check for a valid gender. If new game, check both initgend
+ * and female. On restore, assume flags.female is correct. */
+ if (flags.pantheon == -1) { /* new game */
+ if (!validgend(flags.initrole, flags.initrace, flags.female))
+ flags.female = !flags.female;
+ }
if (!validgend(flags.initrole, flags.initrace, flags.initgend))
- /* Use flags.female second. Note that there is no way
- * to check for an unspecified gender.
- */
+ /* Note that there is no way to check for an unspecified gender. */
flags.initgend = flags.female;
- /* Don't change flags.female; this may be a restore */
/* Check for a valid alignment */
if (!validalign(flags.initrole, flags.initrace, flags.initalign))