diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2023-05-07 20:48:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-07 20:48:55 -0400 |
| commit | f5aacaf38b87f9f4e5ef82406f5c38ba6e529843 (patch) | |
| tree | 9560e38061666f748efd82e3e94de1da6fdb1ed3 | |
| parent | fac898d75996abd7e6a8d89b82166c43f4b313ba (diff) | |
fix build (#2852)
Co-authored-by: briaguya <briaguya@alice>
| -rw-r--r-- | ZAPDTR/ZAPD/GameConfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPDTR/ZAPD/GameConfig.cpp b/ZAPDTR/ZAPD/GameConfig.cpp index cbc21702a..9a2e8898c 100644 --- a/ZAPDTR/ZAPD/GameConfig.cpp +++ b/ZAPDTR/ZAPD/GameConfig.cpp @@ -99,7 +99,7 @@ void GameConfig::ConfigFunc_EntranceList(const tinyxml2::XMLElement& element) { std::string fileName = element.Attribute("File"); std::vector<std::string> lines = - File::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); + DiskFile::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); for (auto& line : lines) entranceList.emplace_back(std::move(line)); @@ -109,7 +109,7 @@ void GameConfig::ConfigFunc_specialEntranceList(const tinyxml2::XMLElement& elem { std::string fileName = element.Attribute("File"); std::vector<std::string> lines = - File::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); + DiskFile::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); for (auto& line : lines) specialEntranceList.emplace_back(std::move(line)); |
