Browse Source

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.
Adam Johnson 9 years ago
parent
commit
1fb3c4ca64
  1. 2
      Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp
  2. 4
      Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp

2
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())
{

4
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)

Loading…
Cancel
Save