From 6ff481df1118162b89b0fa886e8b20e5af868681 Mon Sep 17 00:00:00 2001 From: Laurent alonso Date: Thu, 24 Dec 2020 09:04:57 +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 f4bee23a..ebe40420 100644 --- a/src/game/boe.infodlg.cpp +++ b/src/game/boe.infodlg.cpp @@ -522,7 +522,7 @@ void adventure_notes() { } static void put_talk(cDialog& me) { - if(univ.party.talk_save[store_page_on].filled) { + if(store_page_on> std::ws; getline(bin, note.the_str1); getline(bin, note.the_str2); - note.filled=true; talk_save.push_back(note); } else if(cur == "JOB_BANK") { int i; diff --git a/src/universe/party.hpp b/src/universe/party.hpp index 5aaf7048..76707ace 100644 --- a/src/universe/party.hpp +++ b/src/universe/party.hpp @@ -59,7 +59,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);