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
|
|
@ -1,2 +1,2 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \cwGZ\c- r467 (Sat 8 Aug 16:29:50 CEST 2020)";
|
||||
SWWM_MODVER="\chSWWM \cwGZ\c- r468 (Sat 8 Aug 17:03:58 CEST 2020)";
|
||||
|
|
|
|||
|
|
@ -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