mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
fixed big Minefields
This commit is contained in:
parent
f7e545d8de
commit
6974567965
@ -1886,6 +1886,11 @@ EX void moreBigStuff(cell *c) {
|
||||
|
||||
EX void generate_mines() {
|
||||
vector<cell*> candidates;
|
||||
|
||||
if(bounded)
|
||||
for(cell *c: currentmap->allcells())
|
||||
setdist(c, 7, nullptr);
|
||||
|
||||
for(cell *c: currentmap->allcells())
|
||||
if(c->wall == waMineUnknown)
|
||||
candidates.push_back(c);
|
||||
|
Loading…
Reference in New Issue
Block a user