diff --git a/src/menu/loadsavemenu.cpp b/src/menu/loadsavemenu.cpp index 6811ef4b8d..25bc4b16bd 100644 --- a/src/menu/loadsavemenu.cpp +++ b/src/menu/loadsavemenu.cpp @@ -504,7 +504,6 @@ unsigned FSavegameManager::ExtractSaveData(int index) { delete SavePic; SavePic = nullptr; - SavePicData.Clear(); } } } @@ -536,7 +535,6 @@ void FSavegameManager::UnloadSaveData() SaveCommentString = ""; SavePic = nullptr; - SavePicData.Clear(); } DEFINE_ACTION_FUNCTION(FSavegameManager, UnloadSaveData) diff --git a/src/menu/menu.h b/src/menu/menu.h index 98fd2addbb..ce17a188b9 100644 --- a/src/menu/menu.h +++ b/src/menu/menu.h @@ -72,7 +72,6 @@ private: FSaveGameNode NewSaveNode; int LastSaved = -1; int LastAccessed = -1; - TArray SavePicData; FTexture *SavePic = nullptr; public: