From: PatR Date: Sat, 8 Jun 2019 14:38:13 +0000 (-0700) Subject: 3.7 monst->mtemplit X-Git-Tag: NetHack-3.7.0_WIP~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6553fbb6f5389ae5fd319a297f20cf00a82e6d72;p=nethack 3.7 monst->mtemplit --- diff --git a/include/monst.h b/include/monst.h index bf3b7498b..bc8f939c5 100644 --- a/include/monst.h +++ b/include/monst.h @@ -97,9 +97,6 @@ struct monst { Bitfield(perminvis, 1); /* intrinsic minvis value */ Bitfield(mcan, 1); /* has been cancelled */ Bitfield(mburied, 1); /* has been buried */ -#define mtemplit mburied /* since buried isn't implemented, use bit for - * monsters shown by transcient light source; - * only valid during bhit() execution */ Bitfield(mundetected, 1); /* not seen in present hiding place; * implies one of M1_CONCEAL or M1_HIDE, * but not mimic (that is, snake, spider, @@ -133,7 +130,8 @@ struct monst { Bitfield(iswiz, 1); /* is the Wizard of Yendor */ Bitfield(wormno, 5); /* at most 31 worms on any level */ - /* 2 free bits */ + Bitfield(mtemplit, 1); /* temporarily seen; only valid during bhit() */ + /* 1 free bit */ #define MAX_NUM_WORMS 32 /* should be 2^(wormno bitfield size) */