diff --git a/source/common/compositesaveame.h b/source/common/compositesaveame.h index 00adeefed..85ebe6a8d 100644 --- a/source/common/compositesaveame.h +++ b/source/common/compositesaveame.h @@ -17,9 +17,7 @@ class CompositeSavegameWriter public: void Clear() { - subfiles.Reset(); - subfilenames.Reset(); - isCompressed.Reset(); + subfiles.DeleteAndClear(); } void SetFileName(const char* fn) {