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:
Christoph Oelckers 2016-04-07 12:14:34 +02:00
parent 7ebb961917
commit 790e13e5cb

View file

@ -873,7 +873,7 @@ sightcounts[0]++;
portals.Clear();
{
sector_t *sec;
double lookheight = t1->Center();
double lookheight = t1->Z() + t1->Height*0.75;
t1->GetPortalTransition(lookheight, &sec);
double bottomslope = t2->Z() - lookheight;