mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix problem.
This commit is contained in:
parent
a47a14fe95
commit
ac85c491fd
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ public unsafe partial class PathResolver
|
||||||
{
|
{
|
||||||
gameObject = ( GameObject* )Dalamud.Objects.GetObjectAddress( gameObjectIdx );
|
gameObject = ( GameObject* )Dalamud.Objects.GetObjectAddress( gameObjectIdx );
|
||||||
var draw = ( DrawObject* )drawObject;
|
var draw = ( DrawObject* )drawObject;
|
||||||
if( gameObject != null && gameObject->DrawObject == draw || gameObject->DrawObject == draw->Object.ParentObject )
|
if( gameObject != null && gameObject->DrawObject == draw || draw != null && gameObject->DrawObject == draw->Object.ParentObject )
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue