1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

[Client] Fix copy-paste mistake

This commit is contained in:
Koncord 2017-04-30 01:05:43 +08:00
parent 465a05bad0
commit 805c346bd7

View file

@ -108,14 +108,14 @@ void PlayerList::createPlayer(RakNet::RakNetGUID guid)
if (dedicPlayer->state == 0) if (dedicPlayer->state == 0)
{ {
string recid; string recid;
if (!dedicPlayer->creatureModel.empty()) if (dedicPlayer->creatureModel.empty())
{ {
creature.mId = "Dedicated Player"; npc.mId = "Dedicated Player";
recid = world->createRecord(npc)->mId; recid = world->createRecord(npc)->mId;
} }
else else
{ {
npc.mId = "Dedicated Player"; creature.mId = "Dedicated Player";
recid = world->createRecord(creature)->mId; recid = world->createRecord(creature)->mId;
} }