From 790e13e5cb5ce802cfc5be81f51b9fccf658271a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 7 Apr 2016 12:14:34 +0200 Subject: [PATCH] fixed: For sight checks the 'eye' of the seeing thing should be placed at 3/4 height, not half its height. --- src/p_sight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_sight.cpp b/src/p_sight.cpp index 847448185..469cc8783 100644 --- a/src/p_sight.cpp +++ b/src/p_sight.cpp @@ -873,7 +873,7 @@ sightcounts[0]++; portals.Clear(); { sector_t *sec; - double lookheight = t1->Center(); + double lookheight = t1->Z() + t1->Height*0.75; t1->GetPortalTransition(lookheight, &sec); double bottomslope = t2->Z() - lookheight;