mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 14:01:17 +00:00
Fixup 75e9d8a (unused parameters)
This commit is contained in:
parent
5fcdb9d983
commit
88fdb32147
@ -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;
|
||||
|
||||
|
@ -336,8 +336,7 @@ public:
|
||||
*/
|
||||
bool save_scenario();
|
||||
|
||||
|
||||
void load_scenario(const game_config_view& game_config);
|
||||
void load_scenario();
|
||||
|
||||
config to_config();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user