mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
fix: check correct array for emptyness when getting dependencies from marker
This commit is contained in:
@ -47,7 +47,7 @@ XAssetInfoGeneric* AssetMarker::GetAssetInfoByName(std::string name) const
|
|||||||
std::vector<XAssetInfoGeneric*> AssetMarker::GetDependencies() const
|
std::vector<XAssetInfoGeneric*> AssetMarker::GetDependencies() const
|
||||||
{
|
{
|
||||||
std::vector<XAssetInfoGeneric*> dependencies;
|
std::vector<XAssetInfoGeneric*> dependencies;
|
||||||
if (!m_used_script_strings.empty())
|
if (!m_dependencies.empty())
|
||||||
{
|
{
|
||||||
dependencies.reserve(m_dependencies.size());
|
dependencies.reserve(m_dependencies.size());
|
||||||
for (auto dependency : m_dependencies)
|
for (auto dependency : m_dependencies)
|
||||||
|
Reference in New Issue
Block a user