From 2ff6b89c83aa470b24b4386e5823e9cf687ac13b Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Thu, 15 Aug 2024 20:07:38 +0300 Subject: [PATCH] Fix EHANDLE save-restore --- dlls/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/util.cpp b/dlls/util.cpp index 7f462456f..b0b7a18b6 100644 --- a/dlls/util.cpp +++ b/dlls/util.cpp @@ -1779,7 +1779,7 @@ static int gSizes[FIELD_TYPECOUNT] = sizeof(string_t), // FIELD_STRING sizeof(void*), // FIELD_ENTITY sizeof(void*), // FIELD_CLASSPTR - sizeof(void*), // FIELD_EHANDLE + sizeof(EHANDLE), // FIELD_EHANDLE sizeof(void*), // FIELD_entvars_t sizeof(void*), // FIELD_EDICT sizeof(float) * 3, // FIELD_VECTOR