]> granicus.if.org Git - nethack/commitdiff
Replace && with & in blindness timeout check.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 16 Feb 2015 05:24:05 +0000 (00:24 -0500)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 16 Feb 2015 05:24:05 +0000 (00:24 -0500)
Caught by clang.

src/region.c

index 6c779098b36337ec6a127aa2f0b27126f52334b4..914b79e6285b1ce0c399db29af1fa91fd7d646f5 100644 (file)
@@ -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*/