From 00e608f12b55b19ebae926e612b0dd0ad68c8034 Mon Sep 17 00:00:00 2001 From: Starkku Date: Wed, 15 May 2024 12:48:41 +0300 Subject: [PATCH] Fix shrapnel default targeting only targeting allies --- src/Ext/Bullet/Hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ext/Bullet/Hooks.cpp b/src/Ext/Bullet/Hooks.cpp index 5879c5f6e1..9fac6d7c26 100644 --- a/src/Ext/Bullet/Hooks.cpp +++ b/src/Ext/Bullet/Hooks.cpp @@ -253,7 +253,7 @@ DEFINE_HOOK(0x46A4FB, BulletClass_Shrapnel_Targeting, 0x6) } } - else if (!pOwner->IsAlliedWith(pObject)) + else if (pOwner->IsAlliedWith(pObject)) { return SkipObject; }