From: warwick Date: Fri, 18 Jan 2002 01:38:35 +0000 (+0000) Subject: Lenses don't help when you're blind. X-Git-Tag: MOVE2GIT~3456 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53117c71cbd52547555f90f28c1e56e31917202d;p=nethack Lenses don't help when you're blind. This is a tweak to 's lens patch. --- diff --git a/src/detect.c b/src/detect.c index 6015065ae..c77c6e612 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1116,7 +1116,7 @@ register int aflag; int fund = (uwep && uwep->oartifact && spec_ability(uwep, SPFX_SEARCH)) ? uwep->spe : 0; - if (ublindf && ublindf->otyp == LENSES) + if (ublindf && ublindf->otyp == LENSES && !Blind) fund += 2; /* JDS: lenses help searching */ if (fund > 5) fund = 5; for(x = u.ux-1; x < u.ux+2; x++)