From: nethack.allison Date: Tue, 2 Dec 2003 03:14:50 +0000 (+0000) Subject: autopickup_exception X-Git-Tag: MOVE2GIT~1541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db7d800c9895c72045324afe6d524df6043bbc00;p=nethack autopickup_exception use doname() instead of xname() --- diff --git a/include/patchlevel.h b/include/patchlevel.h index b28f95d02..5366918c4 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -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 diff --git a/src/pickup.c b/src/pickup.c index b453f7553..af7216f48 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -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];