diff --git a/game.cpp b/game.cpp index 52f0d8e8..7e5ed457 100644 --- a/game.cpp +++ b/game.cpp @@ -2467,9 +2467,12 @@ void checkTide(cell *c) { int id = alchemyval(c, 0); if(id < 96) { if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant) { + if(isWateryOrBoat(c)) + playSound(c, "steamhiss"); c->wall = waMagma; if(itemBurns(c->item)) { addMessage(XLAT("%The1 burns!", c->item)), c->item = itNone; + playSound(c, "steamhiss", 30); } } } @@ -5296,11 +5299,11 @@ void moverefresh(bool turn = true) { else if(c->wall == waMagma) { if(c->monst == moSalamander) c->stuntime = max(c->stuntime, 1); else if(c->monst && !survivesPoison(c->monst, c->wall)) { - playSound(c, "splash"+pick12()); if(isNonliving(c->monst)) addMessage(XLAT("%The1 is destroyed by lava!", c->monst)); else addMessage(XLAT("%The1 is killed by lava!", c->monst)); + playSound(c, "steamhiss", 70); fallMonster(c, AF_FALL); } } diff --git a/sounds/credits.txt b/sounds/credits.txt index 1f00c237..03ba75c6 100644 --- a/sounds/credits.txt +++ b/sounds/credits.txt @@ -66,6 +66,7 @@ click: https://www.freesound.org/people/KorgMS2000B/sounds/54406/ pickup-mirror: https://www.freesound.org/people/wjl/sounds/267889/ message-roar: https://www.freesound.org/people/JoelAudio/sounds/85568/ opengate: https://www.freesound.org/people/Qat/sounds/107640/ +steamhiss: http://freesound.org/people/toiletrolltube/sounds/181488/ from Freesounds, under the CC BY 3.0 license: ============================================= diff --git a/sounds/steamhiss.ogg b/sounds/steamhiss.ogg new file mode 100644 index 00000000..5932258e Binary files /dev/null and b/sounds/steamhiss.ogg differ