new status conditions
Several conditions result in stale data on the status line when starting or stopping because things which didn't used to affect it haven't been setting context.botl to force an update. This wasn't systematic; there are bound to be lots more.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 potion.c $NHDT-Date: 1579655028 2020/01/22 01:03:48 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.179 $ */
|
||||
/* NetHack 3.6 potion.c $NHDT-Date: 1581810073 2020/02/15 23:41:13 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.180 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -442,6 +442,7 @@ void
|
||||
make_glib(xtime)
|
||||
int xtime;
|
||||
{
|
||||
g.context.botl |= (!Glib ^ !!xtime);
|
||||
set_itimeout(&Glib, xtime);
|
||||
/* may change "(being worn)" to "(being worn; slippery)" or vice versa */
|
||||
if (uarmg)
|
||||
|
||||
Reference in New Issue
Block a user