worms no longer spam messages when going over lava

This commit is contained in:
Zeno Rogue 2017-10-16 00:33:35 +02:00
parent 6481fd489e
commit ff7f428def
1 changed files with 2 additions and 2 deletions

View File

@ -599,11 +599,11 @@ bool survivesWater(eMonster m) {
m == moTortoise; // Tortoises and Ivies survive, but don't go through water
}
// survives Mercury or Sulphur
// survives Mercury or Sulphur or Lava
bool survivesPoison(eMonster m, eWall p) {
return
isGhost(m) || m == moWitchGhost || m == moShadow ||
isBird(m) || m == moAirElemental || isDragon(m);
isBird(m) || m == moAirElemental || isDragon(m) || isWorm(m);
}
// flying even if stunned