- copied sight check fix.

This commit is contained in:
Christoph Oelckers 2017-01-09 21:39:17 +01:00
parent 80374383a0
commit 5c14b80c8e

View file

@ -116,6 +116,7 @@ public:
sightend = t2->PosRelative(task->portalgroup); sightend = t2->PosRelative(task->portalgroup);
sightstart.Z += t1->Height * 0.75; sightstart.Z += t1->Height * 0.75;
portalgroup = task->portalgroup;
Startfrac = task->Frac; Startfrac = task->Frac;
Trace = { sightstart.X, sightstart.Y, sightend.X - sightstart.X, sightend.Y - sightstart.Y }; Trace = { sightstart.X, sightstart.Y, sightend.X - sightstart.X, sightend.Y - sightstart.Y };
Lastztop = Lastzbottom = sightstart.Z; Lastztop = Lastzbottom = sightstart.Z;