drop_pc -> handle_drop_pc

This commit is contained in:
2024-08-24 13:37:46 -05:00
committed by Celtic Minstrel
parent 4834d9b135
commit b92ec0b53d
3 changed files with 5 additions and 5 deletions

View File

@@ -2642,7 +2642,7 @@ void switch_pc(short which) {
}
}
void drop_pc() {
void handle_drop_pc() {
if(recording){
record_action("drop_pc", "");
}

View File

@@ -25,7 +25,7 @@ void do_abort();
void increase_age();
void handle_hunting();
void switch_pc(short which);
void drop_pc();
void handle_drop_pc();
void new_party();
void handle_death();
void start_new_game(bool force = false);

View File

@@ -336,8 +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();
}else if(t == "handle_drop_pc"){
handle_drop_pc();
}else if(t == "new_party"){
new_party();
}else if(t == "pick_preferences"){
@@ -679,7 +679,7 @@ void handle_menu_choice(eMenu item_hit) {
break;
case eMenu::OPTIONS_DELETE_PC:
drop_pc();
handle_drop_pc();
break;