record and replay 2 more ? key help messages

This commit is contained in:
2024-08-27 15:09:32 -05:00
committed by Celtic Minstrel
parent f82cd550aa
commit 482b35d121
2 changed files with 24 additions and 2 deletions

View File

@@ -474,6 +474,11 @@ static void replay_next_action() {
handle_use_space(destination, did_something, need_redraw);
}else if(t == "show_inventory"){
show_inventory();
}else if(t == "give_help"){
auto info = info_from_action(next_action);
short help1 = boost::lexical_cast<short>(info["help1"]);
short help2 = boost::lexical_cast<short>(info["help2"]);
give_help(help1, help2);
}
// TODO some of these actions shouldn't call advance_time(). They should return