autopickup_exception
use doname() instead of xname()
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user