Some cleanup

Just a bit. i dont want to clean all the ifdef for consoles right now
This commit is contained in:
GabsPuNs
2026-05-28 18:52:42 -04:00
parent d1dbe882bb
commit 7c3e4fb0d5
24 changed files with 60 additions and 4112 deletions

View File

@@ -2411,13 +2411,6 @@ void ClientConnection::handlePreLogin(shared_ptr<PreLoginPacket> packet)
// Guest don't have an offline XUID as they cannot play offline, so use their online one
ProfileManager.GetXUID(m_userIndex,&onlineXUID,true);
}
#ifdef __PSVITA__
if(CGameNetworkManager::usingAdhocMode() && onlineXUID.getOnlineID()[0] == 0)
{
// player doesn't have an online UID, set it from the player name
onlineXUID.setForAdhoc();
}
#endif
// On PS3, all non-signed in players (even guests) can get a useful offlineXUID
#if !(defined __PS3__ || defined _DURANGO )