forked from mirror/openmw-tes3mp
Fix player initialization on server
This commit is contained in:
parent
cba01af683
commit
e1955b440f
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ void Players::NewPlayer(RakNet::RakNetGUID id)
|
|||
id.ToString());
|
||||
|
||||
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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue