Browse Source

vphysix: fix saverestore crash

pull/79/head
nillerusr 2 years ago
parent
commit
447d80b76f
  1. 2
      vphysics/vphysics_saverestore.cpp

2
vphysics/vphysics_saverestore.cpp

@ -136,7 +136,7 @@ void CVPhysPtrSaveRestoreOps::Save( const SaveRestoreFieldInfo_t &fieldInfo, ISa @@ -136,7 +136,7 @@ void CVPhysPtrSaveRestoreOps::Save( const SaveRestoreFieldInfo_t &fieldInfo, ISa
for ( int i = 0; i < nObjects; i++ )
{
pSave->WriteData( (char*)pField, sizeof(void*) );
++pField;
pField += sizeof(void*);
}
}

Loading…
Cancel
Save