summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-10-26 22:59:54 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-10-26 23:00:05 +0300
commit62f864c04539b0db7069d75f471778b9b77d5b9e (patch)
tree849dfe1abe9d205e598c7f0c4caf025707941017 /indra
parent93d87497169e4b5311822c1a02678f3e0669660e (diff)
SL-20513 Fix using wrong data struct #4
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llavatarpropertiesprocessor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.cpp b/indra/newview/llavatarpropertiesprocessor.cpp
index 5b28e9f4c6..e5e9d817c9 100644
--- a/indra/newview/llavatarpropertiesprocessor.cpp
+++ b/indra/newview/llavatarpropertiesprocessor.cpp
@@ -369,7 +369,7 @@ void LLAvatarPropertiesProcessor::requestAvatarPropertiesCoro(std::string cap_ur
void LLAvatarPropertiesProcessor::processAvatarLegacyPropertiesReply(LLMessageSystem* msg, void**)
{
- LLAvatarData avatar_data;
+ LLAvatarLegacyData avatar_data;
std::string birth_date;
msg->getUUIDFast( _PREHASH_AgentData, _PREHASH_AgentID, avatar_data.agent_id);
@@ -385,7 +385,6 @@ void LLAvatarPropertiesProcessor::processAvatarLegacyPropertiesReply(LLMessageSy
LLDateUtil::dateFromPDTString(avatar_data.born_on, birth_date);
// Since field 'hide_age' is not supported by msg system we'd better hide the age here
- avatar_data.hide_age = true;
avatar_data.caption_index = 0;
S32 charter_member_size = 0;