2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-21 09:26:14 +01:00

server: fix FIELD_EHANDLE size as suggested by @FreeSlave (#467)

This commit is contained in:
Alibek Omarov 2024-08-21 23:18:31 +03:00 committed by GitHub
parent 2113beb9f2
commit f1c430ae1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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