mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rose range is now influenced by gamerange()
This commit is contained in:
parent
baaa0c5e0a
commit
4c2a4d7bb0
2
game.cpp
2
game.cpp
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user