1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-19 07:57:39 +00:00

improved mission screen in Minesweeper, and also in non-full games

This commit is contained in:
Zeno Rogue
2020-08-02 02:29:29 +02:00
parent 3505f17460
commit c97badc8c4
3 changed files with 40 additions and 8 deletions

View File

@@ -318,11 +318,8 @@ EX eItem wanderingTreasure(cell *c) {
/** generate the wandering monsters */
EX void wandering() {
if(bounded && specialland == laMinefield) {
kills[moBomberbird] = 0;
kills[moTameBomberbird] = 0;
for(cell *c: currentmap->allcells()) if(c->wall == waMineUnknown) kills[moBomberbird]++;
for(cell *c: currentmap->allcells()) if(among(c->wall, waMineMine, waMineUnknown) && mine::marked_mine(c)) kills[moTameBomberbird]++;
if(mine::in_minesweeper()) {
mine::count_status();
return;
}
if(!canmove) return;