mirror of https://github.com/FWGS/hlsdk-xash3d
Merge branch 'master' into sohl1.2
This commit is contained in:
commit
51e1e9887d
|
@ -2661,7 +2661,7 @@ int CRestore::ReadField( void *pBaseData, TYPEDESCRIPTION *pFields, int fieldCou
|
||||||
break;
|
break;
|
||||||
case FIELD_EHANDLE:
|
case FIELD_EHANDLE:
|
||||||
// Input and Output sizes are different!
|
// Input and Output sizes are different!
|
||||||
pInputData = (char*)pData + j * gSizes[pTest->fieldType];
|
pInputData = (char*)pData + j * gInputSizes[pTest->fieldType];
|
||||||
entityIndex = *(int *)pInputData;
|
entityIndex = *(int *)pInputData;
|
||||||
pent = EntityFromIndex( entityIndex );
|
pent = EntityFromIndex( entityIndex );
|
||||||
if( pent )
|
if( pent )
|
||||||
|
|
Loading…
Reference in New Issue