From f53249cb243c46cb832be0db51cad70fb7253ead Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Mon, 22 Jun 2020 16:14:37 -0700 Subject: [PATCH] WSA animations now work(thanks Omniblade :)). --- code/REDALERT/WIN32LIB/WSA.CPP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/REDALERT/WIN32LIB/WSA.CPP b/code/REDALERT/WIN32LIB/WSA.CPP index b0fb389..fb23135 100644 --- a/code/REDALERT/WIN32LIB/WSA.CPP +++ b/code/REDALERT/WIN32LIB/WSA.CPP @@ -117,7 +117,7 @@ typedef struct { // NOTE:"THIS IS A BAD THING. SINCE sizeof(SysAnimHeaderType) CHANGED, THE ANIMATE.EXE // UTILITY DID NOT KNOW I UPDATED IT, IT ADDS IT TO largest_frame_size BEFORE SAVING // IT TO THE FILE. THIS MEANS I HAVE TO ADD THESE charS ON NOW FOR IT TO WORK. -#define EXTRA_charS_ANIMATE_NOT_KNOW_ABOUT (sizeof(short) + sizeof(unsigned long)) +#define EXTRA_charS_ANIMATE_NOT_KNOW_ABOUT (sizeof(short) + sizeof(unsigned long) + sizeof(INT_PTR)) // Thanks OmniBlade for helping out with this one one. "Not enough, that will increase it by 4 bytes, but the struct contains 2 pointer so will have increased by 8 bytes." //