Skip to content
Snippets Groups Projects
Unverified Commit bef514fa authored by Derek MacDonald's avatar Derek MacDonald Committed by GitHub
Browse files

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.
parent f693959d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment