From 805c346bd79502275f075e84b1e22d2c12b1c846 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 30 Apr 2017 01:05:43 +0800 Subject: [PATCH] [Client] Fix copy-paste mistake --- apps/openmw/mwmp/DedicatedPlayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwmp/DedicatedPlayer.cpp b/apps/openmw/mwmp/DedicatedPlayer.cpp index cf1fb884a..9f06b8280 100644 --- a/apps/openmw/mwmp/DedicatedPlayer.cpp +++ b/apps/openmw/mwmp/DedicatedPlayer.cpp @@ -108,14 +108,14 @@ void PlayerList::createPlayer(RakNet::RakNetGUID guid) if (dedicPlayer->state == 0) { string recid; - if (!dedicPlayer->creatureModel.empty()) + if (dedicPlayer->creatureModel.empty()) { - creature.mId = "Dedicated Player"; + npc.mId = "Dedicated Player"; recid = world->createRecord(npc)->mId; } else { - npc.mId = "Dedicated Player"; + creature.mId = "Dedicated Player"; recid = world->createRecord(creature)->mId; }