mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 00:42:20 +00:00
- copied sight check fix.
This commit is contained in:
parent
80374383a0
commit
5c14b80c8e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue