From 53c227a8b1c94147e91ff56571be4228fc73974e Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Thu, 28 Nov 2024 00:56:55 -0600 Subject: [PATCH] add check for self on isingrouporraid --- zone/mob.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zone/mob.cpp b/zone/mob.cpp index fc4dcd6bd..d9fad01cf 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -9778,6 +9778,10 @@ bool Mob::IsInGroupOrRaid(Mob *other, bool sameRaidGroup) { return false; } + if (this == other) { + return true; + } + auto* r = GetRaid(); auto* rO = other->GetRaid();