1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-06 12:45:25 +01:00

mondata: spacing

This commit is contained in:
Chris-plus-alphanumericgibberish 2016-03-12 23:31:10 -05:00
parent 72cc439f90
commit 18b2b4ec9c

View file

@ -334,13 +334,13 @@ struct obj *obj; /* aatyp == AT_WEAP, AT_SPIT */
/* check if wearing a visor (only checked if visor might help) */
if (check_visor) {
static int vhelmsa = 0;
if (!vhelmsa) vhelmsa = find_vhelm();
static int vhelmsa = 0;
if (!vhelmsa) vhelmsa = find_vhelm();
o = (mdef == &youmonst) ? invent : mdef->minvent;
for ( ; o; o = o->nobj)
if ((o->owornmask & W_ARMH) &&
(o->otyp == vhelmsa || o->otyp == CRYSTAL_HELM))
return FALSE;
(o->otyp == vhelmsa || o->otyp == CRYSTAL_HELM)
) return FALSE;
}
return TRUE;
}