Add SHORT here for consistency with other code

This commit is contained in:
indev committed 2025-03-08 18:14:26 +03:00
1 parent 422e63a93d
commit 148b76f4a3
1 file changed
+2 -2
+2 -2
View File
@@ -1824,8 +1824,8 @@ void *W_CachePatchNameRotated(const char *name, INT32 rotationangle, INT32 tag)
// >y pivot centered
// >x pivot not centered
// Why?
xpivot = ptr->width / 2;
ypivot = ptr->height / 2;
xpivot = SHORT(ptr->width) / 2;
ypivot = SHORT(ptr->height) / 2;
RotatedPatch_DoRotation(rspr, ptr, rotationangle, xpivot, ypivot, false);