From 5e822fd60b362c449466859fdcf78b604ae22758 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 18 Apr 2016 16:46:56 +0200 Subject: [PATCH] - fixed: The starting position of sight checks was inconsistent in different parts of p_sight.cpp. --- 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 469cc8783..f9a0d03d5 100644 --- a/src/p_sight.cpp +++ b/src/p_sight.cpp @@ -114,7 +114,7 @@ public: { sightstart = t1->PosRelative(task->portalgroup); sightend = t2->PosRelative(task->portalgroup); - sightstart.Z += t1->Height / 2; + sightstart.Z += t1->Height * 0.75; Startfrac = task->Frac; Trace = { sightstart.X, sightstart.Y, sightend.X - sightstart.X, sightend.Y - sightstart.Y };