From a3dfb9e43158a8f9008bb23ce650818d7c5beff2 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 8 Feb 2024 22:59:42 +0100 Subject: [PATCH] fix: indirect asset references may not be fully lower case --- src/ZoneCommon/Pool/XAssetInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ZoneCommon/Pool/XAssetInfo.cpp b/src/ZoneCommon/Pool/XAssetInfo.cpp index c208db10c..a2d5c6622 100644 --- a/src/ZoneCommon/Pool/XAssetInfo.cpp +++ b/src/ZoneCommon/Pool/XAssetInfo.cpp @@ -1,5 +1,7 @@ #include "XAssetInfo.h" +#include "Utils/StringUtils.h" + IndirectAssetReference::IndirectAssetReference() : m_type(-1) { @@ -9,6 +11,7 @@ IndirectAssetReference::IndirectAssetReference(const asset_type_t type, std::str : m_type(type), m_name(std::move(name)) { + utils::MakeStringLowerCase(m_name); } bool operator==(const IndirectAssetReference& lhs, const IndirectAssetReference& rhs)