Add SHORT here for consistency with other code
This commit is contained in:
1 parent
71378285b2
commit
e802ecf0b5
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user