Merge branch '555-2-2-9-rotated-patches-are-cropped-have-incorrect-dimensions' into 'next'

Fix #555

Closes #555

See merge request STJr/SRB2!1648
This commit is contained in:
sphere 2021-11-24 12:22:11 +00:00
commit 88e022b6e1

View file

@ -227,8 +227,8 @@ void RotatedPatch_DoRotation(rotsprite_t *rotsprite, patch_t *patch, INT32 angle
ox = (newwidth / 2) + (leftoffset - xpivot);
oy = (newheight / 2) + (patch->topoffset - ypivot);
width = (maxx - minx);
height = (maxy - miny);
width = (maxx+1 - minx);
height = (maxy+1 - miny);
if ((unsigned)(width * height) != size)
{