mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Fixed: tall patches higher than 508 pixels were read incorrectly.
This commit is contained in:
parent
4fe2676e11
commit
50c004bb2c
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ namespace CodeImp.DoomBuilder.IO
|
|||
|
||||
// Read next post start
|
||||
read_y = reader.ReadByte();
|
||||
if(read_y < y) y += read_y; else y = read_y;
|
||||
if(read_y < y || (height > 255 && read_y == y)) y += read_y; else y = read_y; //mxd. Fix for tall patches higher than 508 pixels
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue