yet more dropping while inside engulfer
I don't know why we have two different functions which do exactly the same thing (checking whether an item is unpaid or is a container that holds at least one unpaid item), but switch the #H2504 fix to use 'the other one' and reverse one of the changes made when using the inventory one.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 invent.c $NHDT-Date: 1545036289 2018/12/17 08:44:49 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.243 $ */
|
||||
/* NetHack 3.6 invent.c $NHDT-Date: 1545043772 2018/12/17 10:49:32 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.244 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Derek S. Ray, 2015. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -26,6 +26,7 @@ STATIC_DCL void FDECL(compactify, (char *));
|
||||
STATIC_DCL boolean FDECL(taking_off, (const char *));
|
||||
STATIC_DCL boolean FDECL(putting_on, (const char *));
|
||||
STATIC_PTR int FDECL(ckvalidcat, (struct obj *));
|
||||
STATIC_PTR int FDECL(ckunpaid, (struct obj *));
|
||||
STATIC_PTR char *FDECL(safeq_xprname, (struct obj *));
|
||||
STATIC_PTR char *FDECL(safeq_shortxprname, (struct obj *));
|
||||
STATIC_DCL char FDECL(display_pickinv, (const char *, const char *,
|
||||
@@ -1824,7 +1825,7 @@ struct obj *otmp;
|
||||
return (int) allow_category(otmp);
|
||||
}
|
||||
|
||||
int
|
||||
STATIC_PTR int
|
||||
ckunpaid(otmp)
|
||||
struct obj *otmp;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user