obj.h mixup

\#if 0 should have been #if 1.  Swap #then and #else instead.
This commit is contained in:
PatR
2022-09-15 14:17:43 -07:00
parent aa8f73c890
commit 6353bddaf6

View File

@@ -128,14 +128,14 @@ struct obj {
* they have no locks */ * they have no locks */
Bitfield(pickup_prev, 1); /* was picked up previously */ Bitfield(pickup_prev, 1); /* was picked up previously */
#if 0 #if 0
/* 3 free bits */
#else
/* not implemented */ /* not implemented */
Bitfield(tknown, 1); /* trap status known for chests */ Bitfield(tknown, 1); /* trap status known for chests */
Bitfield(eknown, 1); /* effect known for wands zapped or rings worn when Bitfield(eknown, 1); /* effect known for wands zapped or rings worn when
* not seen yet after being picked up while blind * not seen yet after being picked up while blind
* [maybe for remaining stack of used potion too] */ * [maybe for remaining stack of used potion too] */
/* 1 free bit */ /* 1 free bit */
#else
/* 3 free bits */
#endif #endif
int corpsenm; /* type of corpse is mons[corpsenm] */ int corpsenm; /* type of corpse is mons[corpsenm] */