From a37257458300d55df93f9369a98e7ce4143d212f Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 21 Aug 2002 04:48:17 +0000 Subject: [PATCH] B08018 - vision when breaking closed doors Do vision_recalc immediately when blasting a door so that all the subsequent messages for the same blast hitting other things are all evaluated with the same vision in effect. --- src/lock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lock.c b/src/lock.c index 59be26538..5f4995af7 100644 --- a/src/lock.c +++ b/src/lock.c @@ -847,6 +847,8 @@ int x, y; } unblock_point(x,y); newsym(x,y); + /* force vision recalc before printing more messages */ + if (vision_full_recalc) vision_recalc(0); loudness = 20; } else res = FALSE; break; -- 2.50.1