From e9a274413129f711aa47b1ecfb5521c4d3f9b5c8 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Thu, 14 Jul 2022 11:07:23 +0200 Subject: [PATCH] Fix crash. --- Penumbra/Interop/Resolver/PathResolver.Data.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Interop/Resolver/PathResolver.Data.cs b/Penumbra/Interop/Resolver/PathResolver.Data.cs index b4d7a476..32bf5fbc 100644 --- a/Penumbra/Interop/Resolver/PathResolver.Data.cs +++ b/Penumbra/Interop/Resolver/PathResolver.Data.cs @@ -154,7 +154,7 @@ public unsafe partial class PathResolver { gameObject = ( GameObject* )Dalamud.Objects.GetObjectAddress( gameObjectIdx ); 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; }