]> granicus.if.org Git - nethack/commit
#dip fix (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 3 Mar 2011 10:23:47 +0000 (10:23 +0000)
committernethack.rankin <nethack.rankin>
Thu, 3 Mar 2011 10:23:47 +0000 (10:23 +0000)
commit154b246a35569c2a63b8c00d1f3fb5cbfcc59c73
tree197d5c6c9f04130dbb874b616eb2f0f913ee998d
parentcc7d1ff9a8646618ec77ae602dba75d73d0344bb
#dip fix (trunk only)

     A post-3.4.3 dipping change (to make the dipping prompt mention
the item that you've chosen to dip) formats a phrase for its eventual
getobj() call in advance, but then was modifying it inappropriately if
you were on a fountain or pool location.  If you declined to dip into
the fountain or pool, the prompt for carried potion to dip into was
garbled:   "What do you want to Dip <the object> into the fountain??".
instead of "What do you want to dip <the object> into?".  Fix to use
a separate buffer in the case of a fountain or pool prompt so that the
"dip <the object> into" phrase will be intact when calling getobj().
src/potion.c