mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-22 12:00:13 -04:00
[General] Ensure that objects initialized as DedicatedActors are actors
This commit is contained in:
parent
17715933b5
commit
f219cb5417
@ -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;
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace mwmp
|
||||
hasStatsDynamicData = false;
|
||||
}
|
||||
|
||||
std::string refId;
|
||||
std::string refId = "";
|
||||
unsigned int refNum;
|
||||
unsigned int mpNum;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user