mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Merge pnUtRef with hsRefCnt, and remove the former
This commit is contained in:
@ -278,7 +278,7 @@ static void PlayerInitCallback (
|
||||
if (RelVaultNode * rvn = VaultGetOwnedAgeLinkIncRef(&info)) {
|
||||
VaultAgeLinkNode acc(rvn);
|
||||
acc.AddSpawnPoint(plSpawnPointInfo(kCityFerryTerminalLinkTitle, kCityFerryTerminalLinkSpawnPtName));
|
||||
rvn->DecRef();
|
||||
rvn->UnRef();
|
||||
}
|
||||
|
||||
VaultProcessPlayerInbox();
|
||||
@ -1126,7 +1126,7 @@ void NetCommSetActivePlayer (//--> plNetCommActivePlayerMsg
|
||||
pInfo.SetOnline(false);
|
||||
NetCliAuthVaultNodeSave(rvn, nil, nil);
|
||||
|
||||
rvn->DecRef();
|
||||
rvn->UnRef();
|
||||
}
|
||||
|
||||
VaultCull(s_player->playerInt);
|
||||
@ -1324,7 +1324,7 @@ void NetCommSetCCRLevel (
|
||||
if (RelVaultNode * rvnInfo = VaultGetPlayerInfoNodeIncRef()) {
|
||||
VaultPlayerInfoNode pInfo(rvnInfo);
|
||||
pInfo.SetCCRLevel(ccrLevel);
|
||||
rvnInfo->DecRef();
|
||||
rvnInfo->UnRef();
|
||||
}
|
||||
|
||||
NetCliAuthSetCCRLevel(ccrLevel);
|
||||
|
Reference in New Issue
Block a user