mirror of https://github.com/FWGS/hlsdk-xash3d
Merge branch 'poke646' into poke646_vendetta
This commit is contained in:
commit
98bcbf902d
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue