mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 17:11:33 +00:00
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:
commit
88e022b6e1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue