shmup:: sharks on dry land now die/transform

This commit is contained in:
Zeno Rogue 2019-11-14 20:20:35 +01:00
parent a6d36228b7
commit 45ba2f0229
1 changed files with 6 additions and 0 deletions

View File

@ -1844,6 +1844,12 @@ void moveMonster(monster *m, int delta) {
if(m->base->wall == waRose && !survivesThorns(m->type))
killMonster(m, moNone);
if(among(m->type, moGreaterShark, moShark, moCShark) && !isWateryOrBoat(m->base)) {
if(m->type == moGreaterShark) m->type = moGreaterM;
else killMonster(m, moNone, AF_CRUSH);
}
if(isWatery(m->base) && !survivesWater(m->type) && !m->inBoat && m->type != moReptile)
killMonster(m, moNone);