do not remove faraway treasures in 3D geometries (they are not that far away...)

This commit is contained in:
Zeno Rogue 2021-11-07 10:52:25 +01:00
parent a8d2e589f1
commit 9ca670af20
1 changed files with 1 additions and 1 deletions

View File

@ -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; }