mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +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);
|
||||
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 };
|
||||
|
|
Loading…
Reference in a new issue