summaryrefslogtreecommitdiff
path: root/ZAPD/GameConfig.cpp
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2024-01-08 21:01:24 -0500
committerGitHub <noreply@github.com>2024-01-08 21:01:24 -0500
commit572b13236bebbd2e4c4e9c78a02f995fb730d151 (patch)
tree3b302377ba3afc1fad4920be1883fccac8d6b0d0 /ZAPD/GameConfig.cpp
parent2b6f459b9523603168b6869cf03057a0d68d5f89 (diff)
Implement CS Splines for MM (#310)
* wip * Finished.
Diffstat (limited to 'ZAPD/GameConfig.cpp')
-rw-r--r--ZAPD/GameConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/GameConfig.cpp b/ZAPD/GameConfig.cpp
index 7990a60..cf6cdcc 100644
--- a/ZAPD/GameConfig.cpp
+++ b/ZAPD/GameConfig.cpp
@@ -167,7 +167,7 @@ void GameConfig::ConfigFunc_ExternalFile(const tinyxml2::XMLElement& element)
void GameConfig::ConfigFunc_EnumData(const tinyxml2::XMLElement& element)
{
- std::string path = Path::GetDirectoryName(configFilePath);
+ std::string path = Path::GetDirectoryName(configFilePath).string();
path = path.append("/").append(element.Attribute("File"));
tinyxml2::XMLDocument doc;
tinyxml2::XMLError eResult = doc.LoadFile(path.c_str());