mirror of https://github.com/OpenTTD/OpenTTD
Fix #12550: files were not saved in the right location when binary and configuration are in the same folder
parent
3f06aa441b
commit
00c4b232b3
|
@ -84,7 +84,7 @@ static void FillValidSearchPaths(bool only_local_path)
|
||||||
|
|
||||||
std::set<std::string> seen{};
|
std::set<std::string> seen{};
|
||||||
for (Searchpath sp = SP_FIRST_DIR; sp < NUM_SEARCHPATHS; sp++) {
|
for (Searchpath sp = SP_FIRST_DIR; sp < NUM_SEARCHPATHS; sp++) {
|
||||||
if (sp == SP_WORKING_DIR) continue;
|
if (sp == SP_WORKING_DIR && !_do_scan_working_directory) continue;
|
||||||
|
|
||||||
if (only_local_path) {
|
if (only_local_path) {
|
||||||
switch (sp) {
|
switch (sp) {
|
||||||
|
|
Loading…
Reference in New Issue