autopickup_exception
use doname() instead of xname()
This commit is contained in:
@@ -58,7 +58,6 @@
|
|||||||
* X11 player selection fixes, one of which could be fatal
|
* X11 player selection fixes, one of which could be fatal
|
||||||
* Eliminated a gold-in-shop-container cheat
|
* Eliminated a gold-in-shop-container cheat
|
||||||
* Include bones file version compatibility info in options file
|
* Include bones file version compatibility info in options file
|
||||||
* Synchronize save files and compression algorithms among various Mac ports
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Patch 2, August 30, 2003
|
/* Patch 2, August 30, 2003
|
||||||
|
|||||||
+1
-1
@@ -605,7 +605,7 @@ boolean grab; /* forced pickup, rather than forced leave behind? */
|
|||||||
/*
|
/*
|
||||||
* Does the text description of this match an exception?
|
* Does the text description of this match an exception?
|
||||||
*/
|
*/
|
||||||
char *objdesc = makesingular(xname(obj));
|
char *objdesc = makesingular(doname(obj));
|
||||||
struct autopickup_exception *ape = (grab) ?
|
struct autopickup_exception *ape = (grab) ?
|
||||||
iflags.autopickup_exceptions[AP_GRAB] :
|
iflags.autopickup_exceptions[AP_GRAB] :
|
||||||
iflags.autopickup_exceptions[AP_LEAVE];
|
iflags.autopickup_exceptions[AP_LEAVE];
|
||||||
|
|||||||
Reference in New Issue
Block a user