vphysix: fix saverestore crash

This commit is contained in:
nillerusr 2022-07-25 23:54:47 +03:00
parent 4d628885b7
commit 447d80b76f

View File

@ -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*);
} }
} }