Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jw098 committed Oct 5, 2024
1 parent b43bb7a commit a0d7693
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void run_battle_press_A(
"run_battle_press_A(): Lead pokemon fainted.",
true
);
default: // timeout
default:
throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "run_battle_press_A: Unknown callback triggered.");

}
Expand Down Expand Up @@ -279,6 +279,8 @@ void clear_dialog(ConsoleHandle& console, BotBaseContext& context,
case CallbackEnum::BLACK_DIALOG_BOX:
callbacks.emplace_back(black_dialog_box);
break;
default:
throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "clear_dialog: Unknown callback requested.");
}
}

Expand Down

0 comments on commit a0d7693

Please sign in to comment.