- 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:
Christoph Oelckers 2022-10-20 20:12:06 +02:00
commit 70df444660
7 changed files with 33 additions and 36 deletions

View file

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