analyzer lint for e*.c
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.7 engrave.c $NHDT-Date: 1713657576 2024/04/20 23:59:36 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.157 $ */
|
/* NetHack 3.7 engrave.c $NHDT-Date: 1737345573 2025/01/19 19:59:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.165 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -1348,6 +1348,7 @@ engrave(void)
|
|||||||
obj_extract_self(stylus);
|
obj_extract_self(stylus);
|
||||||
stylus = hold_another_object(stylus, "You drop one %s!",
|
stylus = hold_another_object(stylus, "You drop one %s!",
|
||||||
doname(stylus), (char *) NULL);
|
doname(stylus), (char *) NULL);
|
||||||
|
nhUse(stylus);
|
||||||
} else if (dulled && stylus->known) {
|
} else if (dulled && stylus->known) {
|
||||||
/* reflect change in stylus->spe; not needed for splitstack
|
/* reflect change in stylus->spe; not needed for splitstack
|
||||||
since hold_another_object() does this */
|
since hold_another_object() does this */
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.7 extralev.c $NHDT-Date: 1596498169 2020/08/03 23:42:49 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.19 $ */
|
/* NetHack 3.7 extralev.c $NHDT-Date: 1737345573 2025/01/19 19:59:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.28 $ */
|
||||||
/* Copyright 1988, 1989 by Ken Arromdee */
|
/* Copyright 1988, 1989 by Ken Arromdee */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -301,6 +301,7 @@ makerogueghost(void)
|
|||||||
return;
|
return;
|
||||||
ghost->msleeping = 1;
|
ghost->msleeping = 1;
|
||||||
ghost = christen_monst(ghost, roguename());
|
ghost = christen_monst(ghost, roguename());
|
||||||
|
nhUse(ghost);
|
||||||
|
|
||||||
if (rn2(4)) {
|
if (rn2(4)) {
|
||||||
ghostobj = mksobj_at(FOOD_RATION, x, y, FALSE, FALSE);
|
ghostobj = mksobj_at(FOOD_RATION, x, y, FALSE, FALSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user