- fixed: The starting position of sight checks was inconsistent in different parts of p_sight.cpp.

This commit is contained in:
Christoph Oelckers 2016-04-18 16:46:56 +02:00
parent 8dee0be9ab
commit 5e822fd60b
1 changed files with 1 additions and 1 deletions

View File

@ -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 };