mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix crash.
This commit is contained in:
parent
fff3f6d1cb
commit
e9a2744131
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 || draw != null && 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