Oops, forgot to account for one-sided lines
This commit is contained in:
parent
84276c4548
commit
cb92ff3b3b
2 changed files with 2 additions and 1 deletions
|
|
@ -895,6 +895,7 @@ Class UseLineTracer : LineTracer
|
|||
{
|
||||
if ( u.hitpart != TIER_MIDDLE ) return true; // lower/upper/ffloor
|
||||
Line l = u.HitLine;
|
||||
if ( !l.sidedef[1] ) return true; // onesided line
|
||||
Side s = l.sidedef[u.hitside];
|
||||
if ( s.GetTexture(1).IsNull() ) return false; // no midtex
|
||||
double ofs = s.GetTextureYOffset(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue