Add SHORT here for consistency with other code

This commit is contained in:
indev authored and Alug committed 2025-03-08 16:17:24 +01:00
1 parent c44f78d303
commit 1eea46654b
1 file changed
+2 -2
+2 -2
View File
@@ -1875,8 +1875,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);