From 218caf1aa2c29bea7e52599e52a4bda25b8fa092 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 6 Aug 2025 14:14:39 -0500 Subject: [PATCH] record 2-string dialogs in one element --- src/game/boe.infodlg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/boe.infodlg.cpp b/src/game/boe.infodlg.cpp index 059bd0cd..d1a9d69b 100644 --- a/src/game/boe.infodlg.cpp +++ b/src/game/boe.infodlg.cpp @@ -707,12 +707,12 @@ void cStringRecorder::operator()(cDialog& me) { play_sound(0); std::string str1, str2; univ.get_strs(str1, str2, spec_type, label1, label2); - if(univ.party.record(note_type, str1, location)){ + std::string combined = str1; + if(!str2.empty()) + combined += " ||" + str2; + if(univ.party.record(note_type, combined, location)){ give_help(58,0,me); ASB("Added to encounter notes."); } - - if(!str2.empty()) - univ.party.record(note_type, str2, location); }