record and replay display_skills

This commit is contained in:
2024-08-24 14:52:16 -05:00
committed by Celtic Minstrel
parent bd53a3bb31
commit b1f2465c37
2 changed files with 13 additions and 2 deletions

View File

@@ -182,6 +182,12 @@ static bool display_skills_event_filter(cDialog& me, std::string item_hit, eKeyM
}
void display_skills(eSkill force_skill,cDialog* parent) {
if(recording){
std::ostringstream sstr;
sstr << force_skill;
record_action("display_skills", sstr.str());
}
if(force_skill != eSkill::INVALID)
skill_pos = int(force_skill);
if(skill_pos < 0)