Fix vision in some cases with boulder falling into pool

We can't just unconditionally unblock vision for a location when a boulder
falls into a pool, because the location may also have a (poison) cloud on it.
This commit is contained in:
Pasi Kallinen
2025-01-06 19:46:35 +02:00
parent d807436c10
commit 4392f5fa4e
3 changed files with 13 additions and 2 deletions

View File

@@ -74,8 +74,8 @@ boulder_hits_pool(
levl[rx][ry].drawbridgemask &= ~DB_UNDER; /* clear lava */
levl[rx][ry].drawbridgemask |= DB_FLOOR;
} else {
unblock_point(rx, ry);
levl[rx][ry].typ = ROOM, levl[rx][ry].flags = 0;
recalc_block_point(rx, ry);
}
/* 3.7: normally DEADMONSTER() is used when traversing the fmon
list--dead monsters usually aren't still at specific map