From 812410338de2d8d2a15621290474c365138f3901 Mon Sep 17 00:00:00 2001 From: ALONSO Laurent Date: Thu, 12 Jan 2023 11:24:25 +0100 Subject: [PATCH] journal: try to delete correctly the talking notes --- src/game/boe.infodlg.cpp | 14 +++++++------- src/universe/party.cpp | 2 -- src/universe/party.hpp | 1 - 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/game/boe.infodlg.cpp b/src/game/boe.infodlg.cpp index a74766c2..0db6e9fa 100644 --- a/src/game/boe.infodlg.cpp +++ b/src/game/boe.infodlg.cpp @@ -523,7 +523,7 @@ void adventure_notes() { } static void put_talk(cDialog& me) { - if(univ.party.talk_save[store_page_on].filled) { + if(store_page_on> note.in_town >> note.in_scen; page["STRING"] >> note.the_str1; page["STRING"] >> note.the_str2; - note.filled = true; talk_save.push_back(note); } else if(page.getFirstKey() == "JOBBANK") { size_t i; diff --git a/src/universe/party.hpp b/src/universe/party.hpp index 063aa53a..a9904a9f 100644 --- a/src/universe/party.hpp +++ b/src/universe/party.hpp @@ -65,7 +65,6 @@ class cParty : public iLiving { public: class cConvers { // conversation; formerly talk_save_type public: - bool filled = false; std::string who_said, in_town, the_str1, the_str2, in_scen; void import_legacy(legacy::talk_save_type old, const cScenario& scenario);