| 423 | } |
| 424 | |
| 425 | std::string cResourceMan::GetScriptPath(const std::string& pType) const { |
| 426 | |
| 427 | for (auto& ValidPath : mValidPaths) { |
| 428 | auto basepath = ValidPath + PathGenerate(pType, eScript); |
| 429 | if (FileExists(basepath)) |
| 430 | return basepath; |
| 431 | } |
| 432 | return ""; |
| 433 | } |
| 434 | |
| 435 | std::string cResourceMan::GetTestPath(const sGameVersion* pVersion, const std::string pFile) const { |
| 436 | for (auto& ValidPath : mValidPaths) { |
no outgoing calls
no test coverage detected