mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: The starting position of sight checks was inconsistent in different parts of p_sight.cpp.
This commit is contained in:
parent
8dee0be9ab
commit
5e822fd60b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public:
|
||||||
{
|
{
|
||||||
sightstart = t1->PosRelative(task->portalgroup);
|
sightstart = t1->PosRelative(task->portalgroup);
|
||||||
sightend = t2->PosRelative(task->portalgroup);
|
sightend = t2->PosRelative(task->portalgroup);
|
||||||
sightstart.Z += t1->Height / 2;
|
sightstart.Z += t1->Height * 0.75;
|
||||||
|
|
||||||
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 };
|
||||||
|
|
Loading…
Reference in a new issue