]> granicus.if.org Git - nethack/commitdiff
Cloud wish should block vision
authorPasi Kallinen <paxed@alt.org>
Sun, 26 Jan 2020 12:33:11 +0000 (14:33 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 26 Jan 2020 12:33:11 +0000 (14:33 +0200)
src/objnam.c

index 7da3e498274c73302e52ee25e5c351ea64b45fbe..1777dab21b14eaa008f0239930d22e49e9cdaa6f 100644 (file)
@@ -3048,6 +3048,7 @@ int locked, trapped;
         madeterrain = TRUE;
     } else if (!BSTRCMPI(bp, p - 5, "cloud")) {
         lev->typ = CLOUD;
+        block_point(x, y);
         pline("A cloud.");
         madeterrain = TRUE;
     } else if (!BSTRCMPI(bp, p - 11, "secret door")) {