From: Sean Hunt Date: Mon, 16 Feb 2015 05:24:05 +0000 (-0500) Subject: Replace && with & in blindness timeout check. X-Git-Tag: NetHack-3.6.0_RC01~687^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e93cadc1c962923859d888f6f8be3d13cb0e00e;p=nethack Replace && with & in blindness timeout check. Caught by clang. --- diff --git a/src/region.c b/src/region.c index 6c779098b..914b79e62 100644 --- a/src/region.c +++ b/src/region.c @@ -1052,7 +1052,7 @@ region_safety() pline_The("gas cloud has dissipated."); } /* maybe cure blindness too */ - if ((Blinded && TIMEOUT) == 1L) make_blinded(0L, TRUE); + if ((Blinded & TIMEOUT) == 1L) make_blinded(0L, TRUE); } /*region.c*/