mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Visual Mode: Invert Lower Unpegged behavior for non-skewed FOFs to match SRB2.
This commit is contained in:
parent
b95dcc21b0
commit
77bed468a1
1 changed files with 5 additions and 4 deletions
|
@ -174,10 +174,11 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
tlt.x = tlb.x = 0;
|
||||
trt.x = trb.x = Sidedef.Line.Length;
|
||||
tlt.y = IsLowerUnpegged() ? 0 : -(topheight - bottomheight);
|
||||
trt.y = IsLowerUnpegged() ? 0 : -(topheight2 - bottomheight2);
|
||||
tlb.y = !IsLowerUnpegged() ? 0 : (topheight - bottomheight);
|
||||
trb.y = !IsLowerUnpegged() ? 0 : (topheight2 - bottomheight2);
|
||||
// For SRB2, invert Lower Unpegged behavior for non-skewed 3D floors
|
||||
tlt.y = !(IsLowerUnpegged() ^ skew) ? 0 : -(topheight - bottomheight);
|
||||
trt.y = !(IsLowerUnpegged() ^ skew) ? 0 : -(topheight2 - bottomheight2);
|
||||
tlb.y = !(!IsLowerUnpegged() ^ skew) ? 0 : (topheight - bottomheight);
|
||||
trb.y = !(!IsLowerUnpegged() ^ skew) ? 0 : (topheight2 - bottomheight2);
|
||||
|
||||
// Apply texture offset
|
||||
tlt += tof;
|
||||
|
|
Loading…
Reference in a new issue