vphysix: fix saverestore crash
This commit is contained in:
parent
4d628885b7
commit
447d80b76f
@ -136,7 +136,7 @@ void CVPhysPtrSaveRestoreOps::Save( const SaveRestoreFieldInfo_t &fieldInfo, ISa
|
|||||||
for ( int i = 0; i < nObjects; i++ )
|
for ( int i = 0; i < nObjects; i++ )
|
||||||
{
|
{
|
||||||
pSave->WriteData( (char*)pField, sizeof(void*) );
|
pSave->WriteData( (char*)pField, sizeof(void*) );
|
||||||
++pField;
|
pField += sizeof(void*);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user