readd missing SHORT macro for patch_create

This commit is contained in:
Alug committed 2025-04-18 22:45:24 +02:00
1 parent 167e8e9258
commit 3fe77da35f
1 file changed
+1 -1
+1 -1
View File
@@ -336,7 +336,7 @@ patch_t *Patch_Create(softwarepatch_t *source, size_t srcsize, void *dest)
if (source)
{
INT32 col, colsize;
size_t size = sizeof(INT32) * source->width;
size_t size = sizeof(INT32) * SHORT(source->width);
size_t offs = (sizeof(INT16) * 4) + size;
patch->width = SHORT(source->width);