From 1fb3c4ca6458279567c8e182856cbaffc87ad199 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 10 Jun 2015 12:42:19 -0400 Subject: [PATCH] Fix missing initializers in VaultInitAgeTrans This caused new AgeInfos t have empty strings for important things, like the age filename. Therefore, new ages wouldn't appear on the Relto bookshelf. --- Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp | 2 +- Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp b/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp index 6b39475f..7abbbf33 100644 --- a/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp +++ b/Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp @@ -874,7 +874,7 @@ uint8_t plNetLinkingMgr::IPreProcessLink(void) // Fixup empty fields if (info->HasAgeFilename()) { - info->SetAgeFilename(plNetLinkingMgr::GetProperAgeName(info->GetAgeFilename()).c_str()); + info->SetAgeFilename(plNetLinkingMgr::GetProperAgeName(info->GetAgeFilename())); if (!info->HasAgeInstanceName()) { diff --git a/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp b/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp index e2e67822..ec877a29 100644 --- a/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp +++ b/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp @@ -3820,6 +3820,10 @@ VaultInitAgeTrans::VaultInitAgeTrans ( , m_param(param) , m_ageInstId(ageInstId) , m_parentAgeInstId(parentAgeInstId) +, m_ageFilename(ageFilename) +, m_ageInstName(ageInstName) +, m_ageUserName(ageUserName) +, m_ageDesc(ageDesc) , m_ageSequenceNumber(ageSequenceNumber) , m_ageLanguage(ageLanguage) , m_ageId(0)