EDIT_GETLIN vs monpolycontrol
For wizard mode 'monpolycontrol', the getlin() answer buffer for the "Change <monster> @ <x,y> into what kind of monster?" prompt is also used to format the coordinate portion of that prompt, so when EDIT_GETLIN is enabled getlin() was inadvertently given "<x,y>" to use as default response. Clear it after the prompt is formatted instead of via an initializer. Also, shorten the prompt on the first try: "Change <monster> @ <x,y> into what?", expanding to the old prompt if retry is needed. This also allows specifying 'chameleon' when <monster> is a chameleon, 'doppelganger' when it's a doppelganger, and 'sandestin' when it's one of those (but not 'doppelganger' when it's a chameleon or sandestin, and so forth), instead of blanket refusal to accept any non-vampire shapechanger as the choice.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.52 $ $NHDT-Date: 1560387439 2019/06/13 00:57:19 $
|
||||
$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.53 $ $NHDT-Date: 1560597210 2019/06/15 11:13:30 $
|
||||
|
||||
This fixes36.3 file is here to capture information about updates in the 3.6.x
|
||||
lineage following the release of 3.6.2 in May 2019. Please note, however,
|
||||
@@ -73,6 +73,9 @@ don't give feedback for monster zapping a wand if a monster plays a fire horn
|
||||
if hero knows the number of charges in a wand or magical horn and a monster
|
||||
acquires it and zaps/plays it when not in view, remove the hero's
|
||||
memory of the number of charges
|
||||
for wizard mode 'monpolycontrol', allow usually disallowed type 'chameleon',
|
||||
'doppelganger', or 'sandestin' as answer to "change <monster> @ <x,y>
|
||||
into what?" prompt when <monster> is really that type of creature
|
||||
|
||||
|
||||
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository
|
||||
@@ -90,6 +93,9 @@ curses: sometimes the message window would show a blank line after a prompt
|
||||
|
||||
Platform- and/or Interface-Specific Fixes or Features
|
||||
-----------------------------------------------------
|
||||
EDIT_GETLIN: wizard mode 'monpolycontrol' was using the getlin() answer buffer
|
||||
to format the coordinate portion of the "change <monster> @ <x,y> into
|
||||
what kind of monster?" prompt, resulting in "<x,y>" as default answer
|
||||
curses: very tall menus tried to use selector characters a-z, A-Z, and 0-9,
|
||||
but 0-9 should be reserved for counts and if the display was tall
|
||||
enough for more than 62 entries, arbitrary ASCII punctuation got used
|
||||
|
||||
Reference in New Issue
Block a user