mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-18 20:12:07 +00:00
minesweeper now disables minefield range
This commit is contained in:
@@ -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!"));
|
||||
|
||||
Reference in New Issue
Block a user