Skip to content

Commit

Permalink
Resolve TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Jan 22, 2025
1 parent 145824e commit 26ea738
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/game/boe.main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,8 @@ static void handle_scenario_args() {
// so when you leave, you'll hopefully be in the right place.
auto town_entrances = univ.scenario.find_town_entrances(*scen_arg_town);
if(!town_entrances.empty()){
// TODO a dialog could be shown to choose between multiple entrances,
// but maybe that would be janky, because this happens when you're trying to launch
// from INSIDE a town.
// When there are multiple entrances, this part of the code shouldn't matter,
// but also won't hurt.
town_entrance_t first_entrance_found = town_entrances[0];
int x = first_entrance_found.out_sec.x;
int y = first_entrance_found.out_sec.y;
Expand Down

0 comments on commit 26ea738

Please sign in to comment.