mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
Disable path find debugging
This commit is contained in:
@@ -47,7 +47,8 @@ bool ResourceManager::discoverWorkDir(const std::string& existentFile)
|
||||
// search for modules directory
|
||||
std::string possiblePaths[] = { g_resources.getCurrentDir(),
|
||||
g_resources.getBaseDir(),
|
||||
g_resources.getBaseDir() + "../" };
|
||||
g_resources.getBaseDir() + "../",
|
||||
g_resources.getBaseDir() + "../share/" + g_app.getCompactName() };
|
||||
bool found = false;
|
||||
for(const std::string& dir : possiblePaths) {
|
||||
if(!PHYSFS_addToSearchPath(dir.c_str(), 0))
|
||||
|
Reference in New Issue
Block a user