mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
reduced the other land range for currentLocalTreasure in 3D geometries
This commit is contained in:
parent
9ca670af20
commit
770949978a
@ -434,7 +434,7 @@ EX void countLocalTreasure() {
|
||||
currentLocalTreasure = i ? items[i] : 0;
|
||||
if(i != itHyperstone) for(int i=0; i<isize(dcal); i++) {
|
||||
cell *c2 = dcal[i];
|
||||
if(c2->cpdist > 3) break;
|
||||
if(c2->cpdist > (WDIM == 3 ? 1 : 3)) break;
|
||||
eItem i2 = treasureType(c2->land);
|
||||
if(i2 && items[i2] < currentLocalTreasure)
|
||||
currentLocalTreasure = items[i2];
|
||||
|
Loading…
Reference in New Issue
Block a user