mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Ignore texture patch negative vertical offset (#544)
https://doomwiki.org/wiki/Vertical_offsets_are_ignored_in_texture_patches BIGDOOR7 & STEP2 in doom.wad and doom2.wad contain negative Y-offsets some a patch but instead the renderer defaults to Y-offset value of 0. This stops UDB's 3D visual mode from using the negative value - change it to 0 to match the game renderer. (G)ZDoom behaves the same as vanilla.
This commit is contained in:
parent
f693959df4
commit
bef514fabb
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
// Initialize
|
||||
this.LumpName = lumpname;
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
this.Y = y < 0 ? 0 : y;
|
||||
this.FlipX = false;
|
||||
this.FlipY = false;
|
||||
this.Rotate = 0;
|
||||
|
|
Loading…
Reference in a new issue