1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00

Fix player initialization on server

This commit is contained in:
David Cernat 2016-08-19 03:11:03 +03:00
parent cba01af683
commit e1955b440f

View file

@ -30,6 +30,10 @@ void Players::NewPlayer(RakNet::RakNetGUID id)
id.ToString()); id.ToString());
players[id] = new Player(id); players[id] = new Player(id);
players[id]->GetCell()->blank();
players[id]->Npc()->blank();
players[id]->NpcStats()->blank();
players[id]->CreatureStats()->blank();
for (int i = 0; i < 16; i++) for (int i = 0; i < 16; i++)
{ {