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:
2
src/do.c
2
src/do.c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user