From f5aacaf38b87f9f4e5ef82406f5c38ba6e529843 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Sun, 7 May 2023 20:48:55 -0400 Subject: [PATCH] fix build (#2852) Co-authored-by: briaguya --- ZAPDTR/ZAPD/GameConfig.cpp | 4 ++-- 1 file 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 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 lines = - File::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); + DiskFile::ReadAllLines(Path::GetDirectoryName(configFilePath) / fileName); for (auto& line : lines) specialEntranceList.emplace_back(std::move(line));