mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-20 19:57:53 -05:00
Respect gdt parents when converting to infostring
This commit is contained in:
@ -552,7 +552,7 @@ bool AssetLoaderWeapon::LoadFromGdt(const std::string& assetName, IGdtQueryable*
|
||||
return false;
|
||||
|
||||
InfoString infoString;
|
||||
if(!infoString.FromGdtProperties(ObjConstants::INFO_STRING_PREFIX_WEAPON, *gdtEntry))
|
||||
if(!infoString.FromGdtProperties(*gdtEntry))
|
||||
{
|
||||
std::cout << "Failed to read weapon gdt entry: \"" << assetName << "\"" << std::endl;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user