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:
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());
|
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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue