analyzer lint for p*.c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 potion.c $NHDT-Date: 1726356849 2024/09/14 23:34:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.270 $ */
|
||||
/* NetHack 3.7 potion.c $NHDT-Date: 1737605675 2025/01/22 20:14:35 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.274 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -2236,6 +2236,7 @@ hold_potion(
|
||||
obj_extract_self(potobj);
|
||||
/* re-insert into inventory, possibly merging with compatible stack */
|
||||
potobj = hold_another_object(potobj, drop_fmt, drop_arg, hold_msg);
|
||||
nhUse(potobj);
|
||||
flags.pickup_burden = save_pickup_burden;
|
||||
update_inventory();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user