mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 17:03:25 +00:00
The map editor is working again.
Problem turned out to be a missing initialization call that had the effect of making the editor ignore [binary_path] declarations in .cfg files.
This commit is contained in:
parent
267a33438b
commit
6bde5613ca
@ -88,6 +88,7 @@ int main(int argc, char** argv)
|
||||
const font::manager font_manager;
|
||||
const preferences::manager prefs_manager;
|
||||
const image::manager image_manager;
|
||||
binary_paths_manager paths_manager;
|
||||
std::string filename = "";
|
||||
std::string mapdata;
|
||||
bool from_scenario;
|
||||
@ -299,6 +300,7 @@ int main(int argc, char** argv)
|
||||
std::cerr << "Error when reading game config: '" << e.message << "'" << std::endl;
|
||||
}
|
||||
font::load_font_config();
|
||||
paths_manager.set_paths(cfg);
|
||||
::init_textdomains(cfg);
|
||||
|
||||
if(mapdata.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user