Merge branch 'NetHack-3.6.2'
This commit is contained in:
15
src/do.c
15
src/do.c
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 do.c $NHDT-Date: 1545597418 2018/12/23 20:36:58 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.182 $ */
|
||||
/* NetHack 3.6 do.c $NHDT-Date: 1547086513 2019/01/10 02:15:13 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.183 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Derek S. Ray, 2015. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -369,7 +369,7 @@ register struct obj *obj;
|
||||
goto giveback;
|
||||
case RIN_SLOW_DIGESTION:
|
||||
pline_The("ring is regurgitated!");
|
||||
giveback:
|
||||
giveback:
|
||||
obj->in_use = FALSE;
|
||||
dropx(obj);
|
||||
trycall(obj);
|
||||
@@ -888,7 +888,7 @@ int retry;
|
||||
}
|
||||
}
|
||||
|
||||
drop_done:
|
||||
drop_done:
|
||||
return n_dropped;
|
||||
}
|
||||
|
||||
@@ -1688,17 +1688,16 @@ struct obj *corpse;
|
||||
where = corpse->where;
|
||||
is_uwep = (corpse == uwep);
|
||||
chewed = (corpse->oeaten != 0);
|
||||
Strcpy(cname,
|
||||
corpse_xname(corpse, chewed ? "bite-covered" : (const char *) 0,
|
||||
CXN_SINGULAR));
|
||||
Strcpy(cname, corpse_xname(corpse,
|
||||
chewed ? "bite-covered" : (const char *) 0,
|
||||
CXN_SINGULAR));
|
||||
mcarry = (where == OBJ_MINVENT) ? corpse->ocarry : 0;
|
||||
|
||||
if (where == OBJ_CONTAINED) {
|
||||
struct monst *mtmp2;
|
||||
|
||||
container = corpse->ocontainer;
|
||||
mtmp2 =
|
||||
get_container_location(container, &container_where, (int *) 0);
|
||||
mtmp2 = get_container_location(container, &container_where, (int *) 0);
|
||||
/* container_where is the outermost container's location even if
|
||||
* nested */
|
||||
if (container_where == OBJ_MINVENT && mtmp2)
|
||||
|
||||
Reference in New Issue
Block a user