From 73911a7adaa13e303b909eff7e30ff003899b2b2 Mon Sep 17 00:00:00 2001 From: Dav999 Date: Mon, 11 Sep 2023 22:58:55 +0200 Subject: [PATCH] Remove game.customquicksummary It's completely unused (apart from the variable being set in one place). So let's get this out of the way. --- desktop_version/src/Game.cpp | 2 -- desktop_version/src/Game.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 24589145..4687eb7e 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -6064,8 +6064,6 @@ bool Game::customsavequick(const std::string& savfile) std::string summary = savearea + ", " + timestring(); xml::update_tag(msgs, "summary", summary.c_str()); - customquicksummary = summary; - if(!FILESYSTEM_saveTiXml2Document(("saves/"+levelfile+".vvv").c_str(), doc)) { vlog_error("Could Not Save game!"); diff --git a/desktop_version/src/Game.h b/desktop_version/src/Game.h index 996c0336..317db694 100644 --- a/desktop_version/src/Game.h +++ b/desktop_version/src/Game.h @@ -491,7 +491,7 @@ public: std::string activity_lastprompt; bool activity_gettext; - std::string telesummary, quicksummary, customquicksummary; + std::string telesummary, quicksummary; bool save_exists(void); bool backgroundtext;