Fixup 75e9d8a (unused parameters)

This commit is contained in:
Charles Dang 2021-01-02 22:02:28 +11:00
parent 5fcdb9d983
commit 88fdb32147
2 changed files with 3 additions and 4 deletions

View File

@ -182,7 +182,7 @@ map_context::map_context(const game_config_view& game_config, const std::string&
LOG_ED << "Loading generated scenario file" << std::endl;
// 4.0 editor generated scenario
try {
load_scenario(game_config);
load_scenario();
} catch(const config::error& e) {
// We already caught and rethrew this exception in load_scenario
throw editor_map_load_exception("load_scenario", e.message);
@ -313,7 +313,7 @@ void map_context::replace_local_schedule(const std::vector<time_of_day>& schedul
}
}
void map_context::load_scenario(const game_config_view& game_config)
void map_context::load_scenario()
{
config scenario;

View File

@ -336,8 +336,7 @@ public:
*/
bool save_scenario();
void load_scenario(const game_config_view& game_config);
void load_scenario();
config to_config();