- Backend update from Raze
* fix for serializing vector arrays. * a few adjustments for asan on Windows. * NOMUSICCUTOFF flag for movie player. * a bit of cleanup.
This commit is contained in:
parent
ca8897028f
commit
70df444660
7 changed files with 33 additions and 36 deletions
|
|
@ -159,7 +159,7 @@ public:
|
|||
template<class T>
|
||||
FSerializer &Array(const char *key, T *obj, T *def, int count, bool fullcompare = false)
|
||||
{
|
||||
if (!save_full && fullcompare && isWriting() && def != nullptr && !memcmp(obj, def, count * sizeof(T)))
|
||||
if (!save_full && fullcompare && isWriting() && key != nullptr && def != nullptr && !memcmp(obj, def, count * sizeof(T)))
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue