mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
fixed: Skewing to front and back floor was swapped.
This commit is contained in:
parent
5d12598409
commit
677e1c888b
1 changed files with 6 additions and 6 deletions
|
@ -2295,10 +2295,10 @@ void HWWall::Process(HWWallDispatcher *di, seg_t *seg, sector_t * frontsector, s
|
|||
skew = bch2 - bch1;
|
||||
break;
|
||||
case side_t::skew_front_floor:
|
||||
skew = bfh2 - bfh1;
|
||||
skew = ffh2 - ffh1;
|
||||
break;
|
||||
case side_t::skew_back_floor:
|
||||
skew = ffh2 - ffh1;
|
||||
skew = bfh2 - bfh1;
|
||||
break;
|
||||
}
|
||||
DoTexture(di, RENDERWALL_TOP, seg, (seg->linedef->flags & (ML_DONTPEGTOP)) == 0,
|
||||
|
@ -2366,10 +2366,10 @@ void HWWall::Process(HWWallDispatcher *di, seg_t *seg, sector_t * frontsector, s
|
|||
skew = bch2 - bch1;
|
||||
break;
|
||||
case side_t::skew_front_floor:
|
||||
skew = bfh2 - bfh1;
|
||||
skew = ffh2 - ffh1;
|
||||
break;
|
||||
case side_t::skew_back_floor:
|
||||
skew = ffh2 - ffh1;
|
||||
skew = bfh2 - bfh1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2436,10 +2436,10 @@ void HWWall::Process(HWWallDispatcher *di, seg_t *seg, sector_t * frontsector, s
|
|||
skew = bch2 - bch1;
|
||||
break;
|
||||
case side_t::skew_front_floor:
|
||||
skew = bfh2a - bfh1a;
|
||||
skew = ffh2 - ffh1;
|
||||
break;
|
||||
case side_t::skew_back_floor:
|
||||
skew = ffh2 - ffh1;
|
||||
skew = bfh2a - bfh1a;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue