Add SHORT here for consistency with other code

This commit is contained in:
indev authored and Alug committed 2025-03-10 13:01:35 +01:00
1 parent 71378285b2
commit e802ecf0b5
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);