mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-06 03:19:43 +00:00
[General] Ensure that objects initialized as DedicatedActors are actors
This commit is contained in:
parent
17715933b5
commit
f219cb5417
2 changed files with 2 additions and 2 deletions
|
@ -531,7 +531,7 @@ void Cell::initializeDedicatedActors(ActorList& actorList)
|
||||||
// If this key doesn't exist, create it
|
// If this key doesn't exist, create it
|
||||||
if (dedicatedActors.count(mapIndex) == 0)
|
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;
|
if (!ptrFound) continue;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace mwmp
|
||||||
hasStatsDynamicData = false;
|
hasStatsDynamicData = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string refId;
|
std::string refId = "";
|
||||||
unsigned int refNum;
|
unsigned int refNum;
|
||||||
unsigned int mpNum;
|
unsigned int mpNum;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue