From f068539bad47b4081ee3defe4e8967b9c897c671 Mon Sep 17 00:00:00 2001 From: Sally Cochenour Date: Tue, 3 Mar 2020 16:12:21 -0500 Subject: [PATCH] Don't sight check through transparent FOFs Maybe this should be a option somehow, like a distinction between "sight" and "ray-tracing", but I'm not sure how to go about that --- src/p_sight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_sight.c b/src/p_sight.c index d607fc9e9..f230f40f6 100644 --- a/src/p_sight.c +++ b/src/p_sight.c @@ -484,7 +484,7 @@ boolean P_CheckSight(mobj_t *t1, mobj_t *t2) /// \todo Improve by checking fog density/translucency /// and setting a sight limit. if (!(rover->flags & FF_EXISTS) - || !(rover->flags & FF_RENDERPLANES) || rover->flags & FF_TRANSLUCENT) + || !(rover->flags & FF_RENDERPLANES) /*|| (rover->flags & FF_TRANSLUCENT)*/) { continue; }