record and replay PC deletion

This commit is contained in:
2024-08-23 21:40:12 -05:00
committed by Celtic Minstrel
parent 47ceeabddc
commit a7c1d757be
2 changed files with 5 additions and 0 deletions

View File

@@ -2628,6 +2628,9 @@ void switch_pc(short which) {
}
void drop_pc() {
if(recording){
record_action("drop_pc", "");
}
if(!prime_time()) {
ASB("Finish what you're doing first.");
print_buf();

View File

@@ -336,6 +336,8 @@ static void replay_next_action() {
arrow_button_click(button_rect);
}else if(t == "show_dialog_action"){
show_dialog_action(next_action.GetText());
}else if(t == "drop_pc"){
drop_pc();
}
advance_time(did_something, need_redraw, need_reprint);