From db7d800c9895c72045324afe6d524df6043bbc00 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 2 Dec 2003 03:14:50 +0000 Subject: [PATCH] autopickup_exception use doname() instead of xname() --- include/patchlevel.h | 1 - src/pickup.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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];