record and replay checking journal

This commit is contained in:
2024-08-24 14:17:30 -05:00
committed by Celtic Minstrel
parent ec8c412018
commit c345a03d75
2 changed files with 7 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
#include "view_dialogs.hpp"
#include "tools/cursors.hpp"
#include "utility.hpp"
#include "replay.hpp"
short mage_spell_pos = 0,priest_spell_pos = 0,skill_pos = 0;
@@ -604,6 +605,9 @@ static void fill_journal(cDialog& me) {
}
void journal() {
if(recording){
record_action("journal", "");
}
if(univ.party.journal.empty()) {
ASB("Nothing in your events journal.");
print_buf();