Browse Source

Le sigh. More code cleanup...

Adam Johnson 14 years ago
parent
commit
62ce8a76dc
  1. 8
      Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp

8
Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp

@ -866,12 +866,12 @@ UInt8 plNetLinkingMgr::IPreProcessLink(void)
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// SPECIAL CASE: Nexus: force original link // SPECIAL CASE: Nexus: force original link
if (stricmp(info->GetAgeFilename(), kNexusAgeFilename) == 0) if (stricmp(info->GetAgeFilename(), kNexusAgeFilename) == 0)
GetAgeLink()->SetLinkingRules( plNetCommon::LinkingRules::kOriginalBook ); link->SetLinkingRules(plNetCommon::LinkingRules::kOriginalBook);
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// SPECIAL CASE: ACA: force original link // SPECIAL CASE: ACA: force original link
if (stricmp(info->GetAgeFilename(), kAvCustomizationFilename ) == 0) if (stricmp(info->GetAgeFilename(), kAvCustomizationFilename ) == 0)
GetAgeLink()->SetLinkingRules( plNetCommon::LinkingRules::kOriginalBook ); link->SetLinkingRules(plNetCommon::LinkingRules::kOriginalBook);
hsLogEntry(nc->DebugMsg("plNetLinkingMgr: Process: Linking with %s rules...", hsLogEntry(nc->DebugMsg("plNetLinkingMgr: Process: Linking with %s rules...",
plNetCommon::LinkingRules::LinkingRuleStr(link->GetLinkingRules()))); plNetCommon::LinkingRules::LinkingRuleStr(link->GetLinkingRules())));
@ -936,7 +936,7 @@ UInt8 plNetLinkingMgr::IPreProcessLink(void)
if (linkAcc.volat) { if (linkAcc.volat) {
if (VaultUnregisterOwnedAgeAndWait(&ageInfo)) { if (VaultUnregisterOwnedAgeAndWait(&ageInfo)) {
// Fill in fields for new age create. // Fill in fields for new age create.
if (!info->HasAgeUserDefinedName() ) if (!info->HasAgeUserDefinedName())
{ {
// set user-defined name // set user-defined name
std::string title; std::string title;
@ -984,7 +984,7 @@ UInt8 plNetLinkingMgr::IPreProcessLink(void)
} }
} }
link->SetLinkingRules( plNetCommon::LinkingRules::kOwnedBook ); link->SetLinkingRules(plNetCommon::LinkingRules::kOwnedBook);
// falls thru to OWNED BOOK case... // falls thru to OWNED BOOK case...
//-------------------------------------------------------------------- //--------------------------------------------------------------------

Loading…
Cancel
Save