summaryrefslogtreecommitdiff
path: root/ZAPD/GameConfig.cpp
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2023-10-19 23:52:25 -0400
committerGitHub <noreply@github.com>2023-10-19 23:52:25 -0400
commitc99878e642be7068626fe40071d2ba52561e8c77 (patch)
tree11a624b249effd57c1f06af33bc2811dba941133 /ZAPD/GameConfig.cpp
parent3f878d401fdcff6e7f898524f3bcf5cf4c2b2532 (diff)
Fixes for SoH (#12)
* build ZAPDTR * Fixed crashes --------- Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
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 6068280..c890b4f 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());