Skip to content
Snippets Groups Projects
Commit a14c008d authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Fix #555

parent 9a5bb598
No related branches found
No related tags found
1 merge request!1648Fix #555
......@@ -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)
{
......
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