diff --git a/dlls/util.cpp b/dlls/util.cpp index ac6e28f8..9834aa1f 100644 --- a/dlls/util.cpp +++ b/dlls/util.cpp @@ -2217,7 +2217,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 )