1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

slime destroyed by lava; winter picks up ice-encased items

This commit is contained in:
Zeno Rogue
2017-10-15 01:32:16 +02:00
parent d2d15cae7c
commit 2ec42f0469
2 changed files with 10 additions and 2 deletions

View File

@@ -2467,8 +2467,8 @@ void checkTide(cell *c) {
if(c->land == laVolcano) {
int id = lavatide(c, 0);
if(id < 96) {
if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant) {
if(isWateryOrBoat(c))
if(c->wall == waNone || isWateryOrBoat(c) || c->wall == waVinePlant || isAlch(c)) {
if(isWateryOrBoat(c) || isAlch(c))
playSound(c, "steamhiss");
c->wall = waMagma;
if(itemBurns(c->item)) {
@@ -7299,6 +7299,10 @@ bool movepcto(int d, int subdir, bool checkonly) {
cwt.c->wall = waIcewall;
}
if(items[itOrbWinter])
forCellEx(c3, c2) if(c3->wall == waIcewall && c3->item)
markOrb(itOrbWinter), collectItem(c3);
movecost(cwt.c, c2);
{