1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

rose range is now influenced by gamerange()

This commit is contained in:
Zeno Rogue 2018-04-04 13:48:58 +02:00
parent baaa0c5e0a
commit 4c2a4d7bb0

View File

@ -2705,7 +2705,7 @@ void buildRosemap() {
rosewave++; rosewave++;
for(int k=0; k<size(dcal); k++) { for(int k=0; k<size(dcal); k++) {
cell *c = dcal[k]; cell *c = dcal[k];
if(c->wall == waRose && c->cpdist <= 5) if(c->wall == waRose && c->cpdist <= gamerange() - 2)
rosemap[c] = rosewave * 8 + 2; rosemap[c] = rosewave * 8 + 2;
} }
} }