From ff7f428def437f428a51b27ce056412fc93bb661 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 16 Oct 2017 00:33:35 +0200 Subject: [PATCH] worms no longer spam messages when going over lava --- flags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flags.cpp b/flags.cpp index 71db9525..ecc7863f 100644 --- a/flags.cpp +++ b/flags.cpp @@ -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