|
|
@ -174,7 +174,7 @@ void DedicatedPlayer::setShapeshift()
|
|
|
|
if (reference)
|
|
|
|
if (reference)
|
|
|
|
isNpc = ptr.getTypeName() == typeid(ESM::NPC).name();
|
|
|
|
isNpc = ptr.getTypeName() == typeid(ESM::NPC).name();
|
|
|
|
|
|
|
|
|
|
|
|
if (creatureRefId != previousCreatureRefId)
|
|
|
|
if (creatureRefId != previousCreatureRefId || displayCreatureName != previousDisplayCreatureName)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!creatureRefId.empty() && RecordHelper::doesCreatureExist(creatureRefId))
|
|
|
|
if (!creatureRefId.empty() && RecordHelper::doesCreatureExist(creatureRefId))
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -229,6 +229,7 @@ void DedicatedPlayer::setShapeshift()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
previousCreatureRefId = creatureRefId;
|
|
|
|
previousCreatureRefId = creatureRefId;
|
|
|
|
|
|
|
|
previousDisplayCreatureName = displayCreatureName;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ptr.getTypeName() == typeid(ESM::NPC).name())
|
|
|
|
if (ptr.getTypeName() == typeid(ESM::NPC).name())
|
|
|
|