record 2-string dialogs in one element
This commit is contained in:
@@ -708,12 +708,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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user