Fix vision when opening a door
If a monster or hero opened a door with a temporary (poison) cloud on it, the location could be seen through even with the cloud.
This commit is contained in:
@@ -1502,7 +1502,7 @@ postmov(
|
||||
do { \
|
||||
(where)->doormask = (what); \
|
||||
newsym((who)->mx, (who)->my); \
|
||||
unblock_point((who)->mx, (who)->my); \
|
||||
recalc_block_point((who)->mx, (who)->my); \
|
||||
vision_recalc(0); \
|
||||
/* update cached value since it might change */ \
|
||||
canseeit = didseeit || cansee((who)->mx, (who)->my); \
|
||||
|
||||
Reference in New Issue
Block a user