PC creation tweaks

- Allow scenario designer to specify exactly which towns allow character creation in them
- Clicking the "Empty" name in the edit party dialog is now equivalent to clicking the create button
- Fix dialog not properly focusing after deleting a PC
This commit is contained in:
2015-01-26 19:33:55 -05:00
parent d0ea2064c5
commit 495a0dab54
7 changed files with 19 additions and 17 deletions

View File

@@ -150,6 +150,8 @@ bool load_scenario_v1(fs::path file_to_load, cScenario& scenario){
}
load_town_v1(scenario.scen_file, i, *scenario.towns[i], *temp_scenario);
}
// Enable character creation in starting town
scenario.towns[scenario.which_town_start]->has_tavern = true;
delete temp_scenario;
delete item_data;