1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 09:00:34 +00:00

minesweeper now disables minefield range

This commit is contained in:
Zeno Rogue 2022-05-21 17:10:32 +02:00
parent ff2aa90321
commit 57fd87e1d4

View File

@ -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!"));