mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
do not remove faraway treasures in 3D geometries (they are not that far away...)
This commit is contained in:
parent
a8d2e589f1
commit
9ca670af20
@ -357,7 +357,7 @@ EX void bfs() {
|
||||
|
||||
// remove treasures
|
||||
if(!peace::on && c2->item && c2->cpdist == distlimit && itemclass(c2->item) == IC_TREASURE &&
|
||||
c2->item != itBabyTortoise &&
|
||||
c2->item != itBabyTortoise && WDIM != 3 &&
|
||||
(items[c2->item] >= (ls::any_chaos()?10:20) + currentLocalTreasure || getGhostcount() >= 2)) {
|
||||
c2->item = itNone;
|
||||
if(c2->land == laMinefield) { c2->landparam &= ~3; }
|
||||
|
Loading…
Reference in New Issue
Block a user