summaryrefslogtreecommitdiff
path: root/ZAPD/ZTexture.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2021-05-05 13:56:39 -0400
committerGitHub <noreply@github.com>2021-05-05 13:56:39 -0400
commitcc52fe66109f0ae9dfec8280e439a567796db787 (patch)
tree1f900f53a8fc39ad33d99dc9f1f67288f4ec2c03 /ZAPD/ZTexture.cpp
parent8fc46959753b946accf56c9e410a2e9d136815d6 (diff)
Background array declarations now use string literal (#128)
* Initial implementation * Fixed typo * Minor tweaks * Fixed merge issues Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
Diffstat (limited to 'ZAPD/ZTexture.cpp')
-rw-r--r--ZAPD/ZTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZTexture.cpp b/ZAPD/ZTexture.cpp
index 72ccf67..3bdf270 100644
--- a/ZAPD/ZTexture.cpp
+++ b/ZAPD/ZTexture.cpp
@@ -925,7 +925,7 @@ std::string ZTexture::GetExternalExtension()
std::string ZTexture::GetPoolOutPath(std::string defaultValue)
{
if (Globals::Instance->cfg.texturePool.find(hash) != Globals::Instance->cfg.texturePool.end())
- return Path::GetDirectoryName(Globals::Instance->cfg.texturePool[hash].path);
+ return Path::GetDirectoryName(Globals::Instance->cfg.texturePool[hash].path.string());
return defaultValue;
}