mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-06 12:45:25 +01:00
mondata: spacing
This commit is contained in:
parent
72cc439f90
commit
18b2b4ec9c
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue