mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 20:54:16 +01:00
Fix issue with assigning indexed npcs.
This commit is contained in:
parent
009499cdf6
commit
64c8f29c47
9 changed files with 31 additions and 29 deletions
|
|
@ -256,7 +256,7 @@ public sealed partial class ActorManager : IDisposable
|
|||
return false;
|
||||
}
|
||||
|
||||
id = FromObject(&other->GameObject, out _, false, true);
|
||||
id = FromObject(&other->GameObject, out _, false, true, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -283,7 +283,7 @@ public sealed partial class ActorManager : IDisposable
|
|||
if (obj != null
|
||||
&& obj->ObjectKind is (byte)ObjectKind.Player
|
||||
&& Compare(gameObject, (Character*)obj))
|
||||
return FromObject(obj, out _, false, true);
|
||||
return FromObject(obj, out _, false, true, false);
|
||||
}
|
||||
|
||||
return ActorIdentifier.Invalid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue