From 82f38dcfad0c239026285d050e72e9a207238b47 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 4 Apr 2017 10:34:35 +0300 Subject: [PATCH] [Server] Set mpNum in AddWorldObject() --- apps/openmw-mp/Script/Functions/World.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw-mp/Script/Functions/World.cpp b/apps/openmw-mp/Script/Functions/World.cpp index ac70aa234..6760965d0 100644 --- a/apps/openmw-mp/Script/Functions/World.cpp +++ b/apps/openmw-mp/Script/Functions/World.cpp @@ -246,6 +246,7 @@ void WorldFunctions::AddWorldObject() noexcept WorldObject worldObject; worldObject.refId = tempWorldObject.refId; worldObject.refNumIndex = tempWorldObject.refNumIndex; + worldObject.mpNum = tempWorldObject.mpNum; worldObject.count = tempWorldObject.count; worldObject.charge = tempWorldObject.charge; worldObject.goldValue = tempWorldObject.goldValue;