1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-05 17:30:16 +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

@@ -2981,7 +2981,7 @@ EX namespace kraken {
attackMonster(c2, AF_NORMAL | AF_MSG, c->monst);
sleep(c);
}
else for(int i=0; i<numplayers(); i++) if(playerpos(i) == c2) {
else for(int i=0; i<numplayers(); i++) if(playerpos(i) == c2 && !peace::on) {
if(isPlayerInBoatOn(c2, i)) {
addMessage(XLAT("%The1 destroys your boat!", moKrakenH));
dboat = true;