From 57fd87e1d4179192422ec6f7193fa5543e5818bc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 21 May 2022 17:10:32 +0200 Subject: [PATCH] minesweeper now disables minefield range --- orbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbs.cpp b/orbs.cpp index bb39a6f2..45f293ed 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -1284,7 +1284,7 @@ EX eItem targetRangedOrb(cell *c, orbAction a) { // (-1) distance - if(!disable_orb_range) { + if(!disable_orb_range && !mine::in_minesweeper()) { if(c == cwt.at || isNeighbor(cwt.at, c)) { if(!isWeakCheck(a)) addMessage(XLAT("You cannot target that close!"));