mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-26 14:21:03 +00:00
Fix #555
This commit is contained in:
parent
9a5bb59801
commit
a14c008dee
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);
|
ox = (newwidth / 2) + (leftoffset - xpivot);
|
||||||
oy = (newheight / 2) + (patch->topoffset - ypivot);
|
oy = (newheight / 2) + (patch->topoffset - ypivot);
|
||||||
width = (maxx - minx);
|
width = (maxx+1 - minx);
|
||||||
height = (maxy - miny);
|
height = (maxy+1 - miny);
|
||||||
|
|
||||||
if ((unsigned)(width * height) != size)
|
if ((unsigned)(width * height) != size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue