Merge branch 'master' into poke646

This commit is contained in:
Andrey Akhmichin 2024-03-01 08:12:44 +05:00
commit 06757e94da
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 )