From d17715f71feaacb9fb11ec6e790d689d81ed2512 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 6 Aug 2025 15:17:56 -0500 Subject: [PATCH] combine 2-string dialog records into 1 element --- src/game/boe.infodlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/boe.infodlg.cpp b/src/game/boe.infodlg.cpp index d1a9d69b..3acd03a1 100644 --- a/src/game/boe.infodlg.cpp +++ b/src/game/boe.infodlg.cpp @@ -707,10 +707,10 @@ void cStringRecorder::operator()(cDialog& me) { play_sound(0); std::string str1, str2; univ.get_strs(str1, str2, spec_type, label1, label2); - std::string combined = str1; + // Combine str1 and str2 in one journal entry: if(!str2.empty()) - combined += " ||" + str2; - if(univ.party.record(note_type, combined, location)){ + str1 += " ||" + str2; + if(univ.party.record(note_type, str1, location)){ give_help(58,0,me); ASB("Added to encounter notes."); }