- fixed incomplete reset of savegame state.

This commit is contained in:
Christoph Oelckers 2020-01-07 18:53:16 +01:00
parent b8ac5aea84
commit e7ee858d0d

View file

@ -17,7 +17,10 @@ class CompositeSavegameWriter
public: public:
void Clear() void Clear()
{ {
isCompressed.Clear();
subfilenames.Clear();
subfiles.DeleteAndClear(); subfiles.DeleteAndClear();
filename = "";
} }
void SetFileName(const char* fn) void SetFileName(const char* fn)
{ {