autopickup_exception

use doname() instead of xname()
This commit is contained in:
nethack.allison
2003-12-02 03:14:50 +00:00
parent 063da8fc3a
commit db7d800c98
2 changed files with 1 additions and 2 deletions

View File

@@ -58,7 +58,6 @@
* X11 player selection fixes, one of which could be fatal
* Eliminated a gold-in-shop-container cheat
* Include bones file version compatibility info in options file
* Synchronize save files and compression algorithms among various Mac ports
*/
/* Patch 2, August 30, 2003

View File

@@ -605,7 +605,7 @@ boolean grab; /* forced pickup, rather than forced leave behind? */
/*
* Does the text description of this match an exception?
*/
char *objdesc = makesingular(xname(obj));
char *objdesc = makesingular(doname(obj));
struct autopickup_exception *ape = (grab) ?
iflags.autopickup_exceptions[AP_GRAB] :
iflags.autopickup_exceptions[AP_LEAVE];