From 45bb6ada3dc7c879874d825330fb7c538279c77a Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 23 May 2024 11:39:44 +0000 Subject: [PATCH] Add compatibility for 64-bit 1.5.1 vs any 1.5.2 MP game --- lib/CGeneralTextHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CGeneralTextHandler.h b/lib/CGeneralTextHandler.h index 00825f7b0..6cc7ead26 100644 --- a/lib/CGeneralTextHandler.h +++ b/lib/CGeneralTextHandler.h @@ -205,7 +205,7 @@ public: if (h.version >= Handler::Version::REMOVE_TEXT_CONTAINER_SIZE_T) { - int32_t size = sz; + int64_t size = sz; h & size; sz = size; }