mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
fixed: For sight checks the 'eye' of the seeing thing should be placed at 3/4 height, not half its height.
This commit is contained in:
parent
7ebb961917
commit
790e13e5cb
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ sightcounts[0]++;
|
||||||
portals.Clear();
|
portals.Clear();
|
||||||
{
|
{
|
||||||
sector_t *sec;
|
sector_t *sec;
|
||||||
double lookheight = t1->Center();
|
double lookheight = t1->Z() + t1->Height*0.75;
|
||||||
t1->GetPortalTransition(lookheight, &sec);
|
t1->GetPortalTransition(lookheight, &sec);
|
||||||
|
|
||||||
double bottomslope = t2->Z() - lookheight;
|
double bottomslope = t2->Z() - lookheight;
|
||||||
|
|
Loading…
Reference in a new issue