1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-05 18:19:41 +00:00

[General] Ensure that objects initialized as DedicatedActors are actors

This commit is contained in:
David Cernat 2022-03-23 09:51:05 +02:00
parent 17715933b5
commit f219cb5417
2 changed files with 2 additions and 2 deletions

View file

@ -531,7 +531,7 @@ void Cell::initializeDedicatedActors(ActorList& actorList)
// If this key doesn't exist, create it
if (dedicatedActors.count(mapIndex) == 0)
{
MWWorld::Ptr ptrFound = store->searchExact(baseActor.refNum, baseActor.mpNum);
MWWorld::Ptr ptrFound = store->searchExact(baseActor.refNum, baseActor.mpNum, baseActor.refId, true);
if (!ptrFound) continue;

View file

@ -19,7 +19,7 @@ namespace mwmp
hasStatsDynamicData = false;
}
std::string refId;
std::string refId = "";
unsigned int refNum;
unsigned int mpNum;