mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
minesweeper now disables minefield range
This commit is contained in:
parent
ff2aa90321
commit
57fd87e1d4
2
orbs.cpp
2
orbs.cpp
@ -1284,7 +1284,7 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
|||||||
|
|
||||||
// (-1) distance
|
// (-1) distance
|
||||||
|
|
||||||
if(!disable_orb_range) {
|
if(!disable_orb_range && !mine::in_minesweeper()) {
|
||||||
if(c == cwt.at || isNeighbor(cwt.at, c)) {
|
if(c == cwt.at || isNeighbor(cwt.at, c)) {
|
||||||
if(!isWeakCheck(a))
|
if(!isWeakCheck(a))
|
||||||
addMessage(XLAT("You cannot target that close!"));
|
addMessage(XLAT("You cannot target that close!"));
|
||||||
|
Loading…
Reference in New Issue
Block a user