Merge pull request #3785 from TsFreddie/presistdata_init

initialize CClient::m_HasPersistentData
This commit is contained in:
Dennis Felsing 2021-04-21 09:58:30 +02:00 committed by GitHub
commit 6f97180c19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2361,6 +2361,7 @@ int CServer::Run()
int Size = GameServer()->PersistentClientDataSize();
for(auto &Client : m_aClients)
{
Client.m_HasPersistentData = false;
Client.m_pPersistentData = malloc(Size);
}
}