1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 10:48:04 +00:00

Krakens no longer destroy player boats in peaceful mode

This commit is contained in:
Zeno Rogue
2021-12-12 20:35:18 +01:00
parent 3dde8d805a
commit 32bfdf42c3
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ EX bool monstersnear(cell *c, eMonster who) {
if(elec::affected(c2)) continue;
if(fast && c2->monst != moWitchSpeed) continue;
// Krakens just destroy boats
if(who == moPlayer && c2->monst == moKrakenT && c->wall == waBoat) {
if(who == moPlayer && c2->monst == moKrakenT && c->wall == waBoat && !peace::on) {
kraken_will_destroy_boat = true;
continue;
}