Merge branch 'poke646' into poke646_vendetta

This commit is contained in:
Andrey Akhmichin 2024-03-01 08:13:03 +05:00
commit 98bcbf902d
1 changed files with 1 additions and 1 deletions

View File

@ -2231,7 +2231,7 @@ int CRestore::ReadField( void *pBaseData, TYPEDESCRIPTION *pFields, int fieldCou
break;
case FIELD_EHANDLE:
// Input and Output sizes are different!
pInputData = (char*)pData + j * gSizes[pTest->fieldType];
pInputData = (char*)pData + j * gInputSizes[pTest->fieldType];
entityIndex = *(int *)pInputData;
pent = EntityFromIndex( entityIndex );
if( pent )