win32gui: prevent male valkyrie (from <Someone>)
>Steps to reproduce problem: >1) make sure you don't have race, role, gender specified in your > defaults.h, then add > OPTIONS=role:Valkyrie,race:Human,gender:male,align:lawful >2) start a new nethackw.exe game >3) Uncheck "Random" from gender box, now you can select from male > or female, not only female. >4) Select male and click OK. >5) When game begins press shift+O (Options) and look to gender. > Your valkyrie is male. defaults.nh values were not used the dialog initialization. That's why both male/female options were available for Valkyries. This is now fixed. Also added: checking for consistency of the initial settings and resetting all incompatible values to ROLE_NONE.
This commit is contained in:
@@ -90,6 +90,7 @@ unix: Makefile.utl would put OBJDIR objects in the wrong directory
|
||||
vms: create an empty paniclog file during playground installation
|
||||
win32tty: add subkeyvalue option to alter key values; Finnish keyboard fix
|
||||
win32tty: distinguish between black/gray/white (by Quietust)
|
||||
win32gui: prevent male Valkyrie and other incorrect startup settings
|
||||
tiles: high priest tile had a couple bad pixels
|
||||
tiles: bad pixels in Croesus and Yeenoghu tiles
|
||||
FreeBSD: incorrect srandom declaration
|
||||
|
||||
Reference in New Issue
Block a user