From f1c430ae1d33b946bb86101b806d927d9cf728ad Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 21 Aug 2024 23:18:31 +0300 Subject: [PATCH] server: fix FIELD_EHANDLE size as suggested by @FreeSlave (#467) --- dlls/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/util.cpp b/dlls/util.cpp index be9da9ca7..85566cd3a 100644 --- a/dlls/util.cpp +++ b/dlls/util.cpp @@ -1583,7 +1583,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