integrate aklys feature introduced in 3.6.1 into display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 wield.c $NHDT-Date: 1496959480 2017/06/08 22:04:40 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.54 $ */
|
||||
/* NetHack 3.6 wield.c $NHDT-Date: 1525012623 2018/04/29 14:37:03 $ $NHDT-Branch: master $:$NHDT-Revision: 1.56 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2009. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -187,6 +187,8 @@ struct obj *wep;
|
||||
long dummy = wep->owornmask;
|
||||
|
||||
wep->owornmask |= W_WEP;
|
||||
if (wep->otyp == AKLYS && (wep->owornmask & W_WEP) != 0)
|
||||
You("secure the tether.");
|
||||
prinv((char *) 0, wep, 0L);
|
||||
wep->owornmask = dummy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user