integrate aklys feature introduced in 3.6.1 into display

This commit is contained in:
nhmall
2018-04-29 10:40:11 -04:00
parent 740a51f3d8
commit 3fe8325f14
9 changed files with 101 additions and 27 deletions

View File

@@ -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;
}